Skip to content

Commit 385850f

Browse files
committed
fix: update audit action for container termination
Change the audit action from "kill" to "stop" for the containerKill function to better reflect the operation being performed. This aligns the logging with the intended action and improves clarity in audit records.
1 parent a48306a commit 385850f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dokploy/server/api/routers/docker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const dockerRouter = createTRPCRouter({
135135
}
136136
await containerKill(input.containerId, input.serverId);
137137
await audit(ctx, {
138-
action: "kill",
138+
action: "stop",
139139
resourceType: "docker",
140140
resourceId: input.containerId,
141141
resourceName: input.containerId,

0 commit comments

Comments
 (0)