Skip to content

Commit

Permalink
Update internal/controller/deployment_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle <[email protected]>
  • Loading branch information
kylewuolle and squizzi authored Aug 27, 2024
1 parent e8dc53e commit 2d5e1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/deployment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (r *DeploymentReconciler) setStatusFromClusterStatus(ctx context.Context, l
if conditionsField, ok := statusMap["conditions"]; ok {
bytes, err := json.Marshal(conditionsField)
if err != nil {
return true, fmt.Errorf("failed to get deserialize cluster information for deployment: %s : %v",
return true, fmt.Errorf("failed to get deserialize cluster information for deployment: %s: %w",
deployment.Name, err)
}
var conditions []metav1.Condition
Expand Down

0 comments on commit 2d5e1a9

Please sign in to comment.