mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #5483 from gyuho/client_typo
clientv3: fix panic message in OpPut
This commit is contained in:
commit
a86ae1d969
@ -114,7 +114,7 @@ func OpPut(key, val string, opts ...OpOption) Op {
|
||||
case ret.sort != nil:
|
||||
panic("unexpected sort in put")
|
||||
case ret.serializable:
|
||||
panic("unexpected serializable in delete")
|
||||
panic("unexpected serializable in put")
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user