mirror of
https://github.com/status-im/consul.git
synced 2025-01-23 03:59:18 +00:00
fix fmt.Errorf error
missing argument for Errorf("%q"): format reads arg 1, have only 0 args
This commit is contained in:
parent
769a872b71
commit
5beda4d5bc
@ -53,7 +53,7 @@ func (s *Session) Apply(args *structs.SessionRequest, reply *string) error {
|
||||
}
|
||||
|
||||
default:
|
||||
return fmt.Errorf("Invalid session operation %q, args.Op")
|
||||
return fmt.Errorf("Invalid session operation %q", args.Op)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user