Fix string formatting error for go1.10 (#201)
This commit is contained in:
parent
6d47f4afe2
commit
192fb2aabc
|
@ -34,7 +34,7 @@ func SetOption(client abcicli.Client, key, value string) error {
|
|||
_, err := client.SetOptionSync(types.RequestSetOption{Key: key, Value: value})
|
||||
if err != nil {
|
||||
fmt.Println("Failed test: SetOption")
|
||||
fmt.Printf("error while setting %v=%v: \nerror: %v\n", key, value)
|
||||
fmt.Printf("error while setting %v=%v: \nerror: %v\n", key, value, err)
|
||||
return err
|
||||
}
|
||||
fmt.Println("Passed test: SetOption")
|
||||
|
|
Loading…
Reference in New Issue