Lowercase error messages
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
Hector Sanjuan committed
Nov 24, 2016 at 19:36 UTC
5d20ddc9572dd32d1974eb6dbce3d166aaf0f2a4
1 file changed
+2
-2
core/commands/pin.go
+2
-2
@@ -271,7 +271,7 @@ func pinLsKeys(args []string, typeStr string, ctx context.Context, n *core.IpfsN
271
272
mode, ok := pin.StringToPinMode(typeStr)
273
if !ok {
274
- return nil, fmt.Errorf("Invalid pin mode '%s'", typeStr)
274
+ return nil, fmt.Errorf("invalid pin mode '%s'", typeStr)
275
}
276
277
keys := make(map[string]RefKeyObject)
@@ -293,7 +293,7 @@ func pinLsKeys(args []string, typeStr string, ctx context.Context, n *core.IpfsN
293
}
294
295
if !pinned {
296
- return nil, fmt.Errorf("Path '%s' is not pinned", p)
296
+ return nil, fmt.Errorf("path '%s' is not pinned", p)
297
}
298
299
switch pinType {