提交 5ca0302b 作者: Steven Allen 提交者: Jeromy

flush pins in the pin update command

fixes #5264

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 82e006ea
......@@ -411,6 +411,12 @@ new pin and removing the old one.
return
}
err = n.Pinning.Flush()
if err != nil {
res.SetError(err, cmdkit.ErrNormal)
return
}
res.SetOutput(&PinOutput{Pins: []string{from.String(), to.String()}})
},
Marshalers: cmds.MarshalerMap{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论