Skip to content

Commit

Permalink
Fixed issue #48
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Ware authored and Scott Ware committed Jun 18, 2019
1 parent 6cb3105 commit d747f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion junos.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func genSSHClientConfig(auth *AuthMethod) (*ssh.ClientConfig, error) {
return config, nil
}

return config, nil
return config, errors.New("no credentials/keys available")
}

// NewSession establishes a new connection to a Junos device that we will use
Expand Down

0 comments on commit d747f5a

Please sign in to comment.