mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-27 20:36:29 -04:00
Address JetBrains warnings
This commit is contained in:
+1
-2
@@ -12,9 +12,8 @@ var keyBytesProvider = func(sshKeyPath *string) ([]byte, error) {
|
||||
return nil, errors.New("unable to read private key: " + *sshKeyPath)
|
||||
}
|
||||
return key, nil
|
||||
} else {
|
||||
return nil, errors.New("unable to identify private key location (nil config)")
|
||||
}
|
||||
return nil, errors.New("unable to identify private key location (nil config)")
|
||||
}
|
||||
|
||||
// GetBytes returns the SSH private key bytes.
|
||||
|
||||
Reference in New Issue
Block a user