Skip to content

Commit

Permalink
refactor: error handling covered in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
tommytroen committed Aug 24, 2023
1 parent d862c3f commit 57fd86f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controllers/jwker_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ func (r *JwkerReconciler) create(tx transaction) error {
}
}

if err != nil {
return fmt.Errorf("failed registering client: %s", err)
}

r.logger.Info(fmt.Sprintf("Reconciling secrets for app %s in namespace %s", app.Name, app.Namespace))

jwk, err := secret.FirstJWK(tx.keyset.Private)
Expand Down

0 comments on commit 57fd86f

Please sign in to comment.