Hongchao Deng 10 лет назад
Родитель
Сommit
a19b30b7ab
1 измененных файлов с 1 добавлено и 1 удалено
  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.