Skip to content

Commit

Permalink
Adding logging and making code look the same as create
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Christiansen <[email protected]>
  • Loading branch information
nikore committed Aug 26, 2021
1 parent 50ddb40 commit 1b64965
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ func (r *ReconcileZookeeperCluster) reconcileStatefulSet(instance *zookeeperv1be
return err
} else {
foundServiceAccount.ImagePullSecrets = serviceAccount.ImagePullSecrets
if err = r.client.Update(context.TODO(), foundServiceAccount); err != nil {
r.log.Info("Updating ServiceAccount", "ServiceAccount.Namespace", serviceAccount.Namespace, "ServiceAccount.Name", serviceAccount.Name)
err = r.client.Update(context.TODO(), foundServiceAccount)
if err != nil {
return err
}
}
Expand Down

0 comments on commit 1b64965

Please sign in to comment.