snapshot: fix "Save" godoc description
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.4
parent
2e85b6c321
commit
c1519e5e98
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue