pkg/clustermanager/ssh_communicator.go
Method SSHCommunicator.CapturePassphrase
has 5 return statements (exceeds 4 allowed). Open
Open
func (sshComm *SSHCommunicator) CapturePassphrase(sshKeyName string) error {
index, privateKey := sshComm.findPrivateKeyByName(sshKeyName)
if index < 0 {
return fmt.Errorf("could not find SSH key '%s'", sshKeyName)
}