mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
cmds/config: make config get use EmitOnce
(interop) License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
parent
cf418cd2db
commit
a356aeb9b9
@ -120,7 +120,7 @@ Set the value of the 'Datastore.Path' key:
|
||||
return err
|
||||
}
|
||||
|
||||
return res.Emit(output)
|
||||
return cmds.EmitOnce(res, output)
|
||||
},
|
||||
Encoders: cmds.EncoderMap{
|
||||
cmds.Text: cmds.MakeTypedEncoder(func(req *cmds.Request, w io.Writer, out *ConfigField) error {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user