File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ func (r *Reconciler) SetDesiredSecretAdminAccountInfo() error {
229229 if err != nil {
230230 return fmt .Errorf ("cannot read admin account info, error: %v" , err )
231231 }
232- if account . AccessKeys == nil || len (account .AccessKeys ) <= 0 {
232+ if len (account .AccessKeys ) <= 0 {
233233 return fmt .Errorf ("admin account has no access keys yet" )
234234 }
235235
@@ -417,11 +417,11 @@ func (r *Reconciler) SetDesiredDeploymentEndpoint() error {
417417
418418 if r .NooBaa .Spec .BucketNotifications .Enabled {
419419 envVar := corev1.EnvVar {
420- Name : "NOTIFICATION_LOG_DIR" ,
420+ Name : "NOTIFICATION_LOG_DIR" ,
421421 Value : "/var/logs/notifications" ,
422422 }
423423
424- util .MergeEnvArrays (& c .Env , & []corev1.EnvVar {envVar });
424+ util .MergeEnvArrays (& c .Env , & []corev1.EnvVar {envVar })
425425 }
426426
427427 c .SecurityContext = & corev1.SecurityContext {
You can’t perform that action at this time.
0 commit comments