Skip to content

Commit

Permalink
chore: clarify ssh-agent postStart event injection failure message
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Obuchowicz <[email protected]>
  • Loading branch information
AObuchow committed Nov 7, 2024
1 parent 6addced commit 5bef279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/workspace/devworkspace_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (r *DevWorkspaceReconciler) Reconcile(ctx context.Context, req ctrl.Request
reqLogger.Error(err, "Error retrieving SSH secret")
} else if needsSSHAgentPostStartEvent {
if err = ssh.AddSshAgentPostStartEvent(&workspace.Spec.Template); err != nil {
return r.failWorkspace(workspace, "Failed to add ssh-agent post start event", metrics.ReasonWorkspaceEngineFailure, reqLogger, &reconcileStatus), nil
return r.failWorkspace(workspace, "Failed to add ssh-agent initialization postStart event", metrics.ReasonWorkspaceEngineFailure, reqLogger, &reconcileStatus), nil
}
}
}
Expand Down

0 comments on commit 5bef279

Please sign in to comment.