Skip to content

Commit 5bef279

Browse files
committed
chore: clarify ssh-agent postStart event injection failure message
Signed-off-by: Andrew Obuchowicz <[email protected]>
1 parent 6addced commit 5bef279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/workspace/devworkspace_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ func (r *DevWorkspaceReconciler) Reconcile(ctx context.Context, req ctrl.Request
286286
reqLogger.Error(err, "Error retrieving SSH secret")
287287
} else if needsSSHAgentPostStartEvent {
288288
if err = ssh.AddSshAgentPostStartEvent(&workspace.Spec.Template); err != nil {
289-
return r.failWorkspace(workspace, "Failed to add ssh-agent post start event", metrics.ReasonWorkspaceEngineFailure, reqLogger, &reconcileStatus), nil
289+
return r.failWorkspace(workspace, "Failed to add ssh-agent initialization postStart event", metrics.ReasonWorkspaceEngineFailure, reqLogger, &reconcileStatus), nil
290290
}
291291
}
292292
}

0 commit comments

Comments
 (0)