Skip to content

Commit

Permalink
Removed extra space
Browse files Browse the repository at this point in the history
This was coming up as an extra space. For instance:

```curl -i http://localhost:5001/api/v0/config?arg=kitten
//"Message": "Failed to get config value:  key has no attributes",
```

Removing it here.

License: MIT
Signed-off-by: Richard Littauer <[email protected]>
  • Loading branch information
RichardLitt committed Feb 2, 2016
1 parent f5e7a3b commit dc5b45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ can't be undone.
func getConfig(r repo.Repo, key string) (*ConfigField, error) {
value, err := r.GetConfigKey(key)
if err != nil {
return nil, fmt.Errorf("Failed to get config value: %s", err)
return nil, fmt.Errorf("Failed to get config value: %q", err)
}
return &ConfigField{
Key: key,
Expand Down

0 comments on commit dc5b45e

Please sign in to comment.