Skip to content

Commit

Permalink
fix return a nilness err
Browse files Browse the repository at this point in the history
Signed-off-by: alingse <alingse@foxmail.com>
  • Loading branch information
alingse committed Dec 15, 2024
1 parent 718bcb2 commit d1da7a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (c *Controller) deleteAllCR(ctx context.Context, clusterName logicalcluster

deleteError := utilerrors.NewAggregate(deleteErrors)
if deleteError != nil {
return gvrDeletionMetadata{}, err
return gvrDeletionMetadata{}, deleteError
}

// resource will not be delete immediately, instead of list again, we just return the
Expand Down

0 comments on commit d1da7a5

Please sign in to comment.