Browse Source

Merge pull request #5483 from gyuho/client_typo

clientv3: fix panic message in OpPut
Gyu-Ho Lee 9 years ago
parent
commit
a86ae1d969
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clientv3/op.go

+ 1 - 1
clientv3/op.go

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