Skip to content

Commit 2aaeea8

Browse files
authored
Merge pull request #31 from datum-cloud/output-reconcile-error
chore: output error from mutating resource
2 parents c6cf512 + 79c8bc2 commit 2aaeea8

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)