fix megacheck warning

This commit is contained in:
Anton Kaliaev 2017-11-21 17:53:48 -06:00
parent f6a79dd7c5
commit 5be9c50b47
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }