Commit 5ca0302b authored by Steven Allen's avatar Steven Allen Committed by Jeromy

flush pins in the pin update command

fixes #5264

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment