Skip to content

Commit 79c8bc2

Browse files
committed
chore: output error from mutating resource
1 parent 7bca17b commit 79c8bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/workload_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (r *WorkloadReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c
181181
})
182182

183183
if err != nil {
184-
return ctrl.Result{}, fmt.Errorf("failed mutating workload deployment")
184+
return ctrl.Result{}, fmt.Errorf("failed mutating workload deployment: %w", err)
185185
}
186186

187187
placementDeployments[deployment.Spec.PlacementName] = append(

0 commit comments

Comments
 (0)