Fix formatting in error message

Issue #43 (not a fix though, just something observed in that issue)
This commit is contained in:
Justin Santa Barbara 2016-07-06 00:45:32 -04:00
parent 806fc8012c
commit d8e8cd80ab
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func (c *AddonsCmd) buildClusterAddons() (*kutil.ClusterAddons, error) {
privateKeyFile := utils.ExpandPath("~/.ssh/id_rsa")
err = kutil.AddSSHIdentity(&k.SSHConfig, privateKeyFile)
if err != nil {
return nil, fmt.Errorf("error adding SSH private key %q: %v", err)
return nil, fmt.Errorf("error adding SSH private key %q: %v", privateKeyFile, err)
}
return k, nil