Explorar o código

snapshot: fix "Save" godoc description

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee %!s(int64=8) %!d(string=hai) anos
pai
achega
c1519e5e98
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      snapshot/v3_snapshot.go

+ 1 - 1
snapshot/v3_snapshot.go

@@ -48,7 +48,7 @@ import (
 
 // Manager defines snapshot methods.
 type Manager interface {
-	// Save fetches snapshot from specified client's endpoints and saves to target path.
+	// Save fetches snapshot from remote etcd server and saves data to target path.
 	// If the context "ctx" is canceled or timed out, snapshot save stream will error out
 	// (e.g. context.Canceled, context.DeadlineExceeded).
 	Save(ctx context.Context, dbPath string) error