Skip to content

Commit

Permalink
Fixes fmt.Errorf formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jtopjian authored and illarion committed Jun 21, 2017
1 parent 58ad4e2 commit 5c51b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discovery/lxd.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func lxdBuildClient(cfg config.DiscoveryConfig) (*lxd.Client, error) {
var err error
client, err = lxdhelpers.GetRemoteCertificate(client, cfg.LXDServerRemoteName)
if err != nil {
return nil, fmt.Errorf("Could not add the LXD server: ", err)
return nil, fmt.Errorf("Could not add the LXD server: %s", err)
}
} else {
err := fmt.Errorf("Unable to communicate with LXD server. Either set " +
Expand Down

0 comments on commit 5c51b0c

Please sign in to comment.