Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt fixes #486

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/resources/serviceaccount/serviceaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func SyncServiceAccount(ctx context.Context, sa corev1.ServiceAccount, client cl
log.Errorw("Unknown error.", "Error", err.Error())
return err
}

// Updating the service account keeps regenerating the secrets.
// We dont have to update the service account if it exists.
log.Infow("ServiceAccount already exists", "Name:", sa.Name)
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func DeleteObject(ctx context.Context, obj crclient.Object, ctrlClient crclient.
log.Errorw("error to find object in deleteObj", "Error", err.Error(), "Name:", name, "Kind:", kind)
return err
}

log.Infow("Deleting object", "Name:", name, "Kind:", kind)
err = ctrlClient.Delete(ctx, obj)
if err != nil && !k8serror.IsNotFound(err) {
Expand Down
Loading