Removed extra space
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 <richard.littauer@gmail.com>
Richard Littauer committed
Feb 2, 2016 at 12:08 UTC
dc5b45e3772779fc7c5d608ed695c0c3ef38a7b3
1 file changed
+1
-1
core/commands/config.go
+1
-1
@@ -217,7 +217,7 @@ can't be undone.
217
func getConfig(r repo.Repo, key string) (*ConfigField, error) {
218
value, err := r.GetConfigKey(key)
219
if err != nil {
220
- return nil, fmt.Errorf("Failed to get config value: %s", err)
220
+ return nil, fmt.Errorf("Failed to get config value: %q", err)
221
}
222
return &ConfigField{
223
Key: key,