mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-27 15:52:14 +00:00
fix megacheck warning
This commit is contained in:
parent
f6a79dd7c5
commit
5be9c50b47
@ -355,12 +355,12 @@ func cmdInfo(cmd *cobra.Command, args []string) error {
|
|||||||
|
|
||||||
// Set an option on the application
|
// Set an option on the application
|
||||||
func cmdSetOption(cmd *cobra.Command, args []string) error {
|
func cmdSetOption(cmd *cobra.Command, args []string) error {
|
||||||
log, err := client.SetOptionSync(args[0], args[1])
|
resLog, err := client.SetOptionSync(args[0], args[1])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
printResponse(cmd, args, response{
|
printResponse(cmd, args, response{
|
||||||
Log: log,
|
Log: resLog,
|
||||||
})
|
})
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user