Skip to content

Commit 03e970b

Browse files
dannyzakenliranmauda
authored andcommitted
fixed lint error
Signed-off-by: Danny Zaken <dannyzaken@gmail.com> (cherry picked from commit 9d900da)
1 parent 83650ff commit 03e970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/system/phase4_configuring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)