mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Fix golint errors
This commit is contained in:
@@ -219,8 +219,8 @@ func setupSSH(cfg *config.CloudConfig) error {
|
||||
continue
|
||||
}
|
||||
|
||||
saved, savedExists := cfg.Rancher.Ssh.Keys[keyType]
|
||||
pub, pubExists := cfg.Rancher.Ssh.Keys[keyType+"-pub"]
|
||||
saved, savedExists := cfg.Rancher.SSH.Keys[keyType]
|
||||
pub, pubExists := cfg.Rancher.SSH.Keys[keyType+"-pub"]
|
||||
|
||||
if savedExists && pubExists {
|
||||
// TODO check permissions
|
||||
|
Reference in New Issue
Block a user