Skip to content

Commit 8fdd9c6

Browse files
committed
linter
1 parent 2ef4f0c commit 8fdd9c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/namespaces/instance/v1/custom_ssh_key.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,13 @@ Keep in mind that SSH keys are scoped by project`,
183183

184184
if server.State != instance.ServerStateRunning {
185185
fmt.Println("Failed: server is not running")
186+
186187
continue
187188
}
188189

189190
if len(server.PublicIPs) < 1 {
190191
fmt.Println("Failed: server has no public IP")
192+
191193
continue
192194
}
193195

@@ -217,6 +219,7 @@ Keep in mind that SSH keys are scoped by project`,
217219
}
218220
}
219221
}
222+
220223
return &core.SuccessResult{Empty: true}, nil
221224
},
222225
}

0 commit comments

Comments
 (0)