Explorar o código

clientv3: kv.Delete typo

Hongchao Deng %!s(int64=9) %!d(string=hai) anos
pai
achega
a19b30b7ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      clientv3/kv.go

+ 1 - 1
clientv3/kv.go

@@ -46,7 +46,7 @@ type KV interface {
 	// When passed WithSort(), the keys will be sorted.
 	Get(ctx context.Context, key string, opts ...OpOption) (*GetResponse, error)
 
-	// Delete deletes a key, or optionallly using WithRange(end), [key, end).
+	// Delete deletes a key, or optionally using WithRange(end), [key, end).
 	Delete(ctx context.Context, key string, opts ...OpOption) (*DeleteResponse, error)
 
 	// Compact compacts etcd KV history before the given rev.