提交 5d20ddc9 作者: Hector Sanjuan

Lowercase error messages

License: MIT
Signed-off-by: 's avatarHector Sanjuan <hector@protocol.ai>
上级 ac054f3d
......@@ -271,7 +271,7 @@ func pinLsKeys(args []string, typeStr string, ctx context.Context, n *core.IpfsN
mode, ok := pin.StringToPinMode(typeStr)
if !ok {
return nil, fmt.Errorf("Invalid pin mode '%s'", typeStr)
return nil, fmt.Errorf("invalid pin mode '%s'", typeStr)
}
keys := make(map[string]RefKeyObject)
......@@ -293,7 +293,7 @@ func pinLsKeys(args []string, typeStr string, ctx context.Context, n *core.IpfsN
}
if !pinned {
return nil, fmt.Errorf("Path '%s' is not pinned", p)
return nil, fmt.Errorf("path '%s' is not pinned", p)
}
switch pinType {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论