mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #9208 from gyuho/fix-godoc-snapshot
snapshot: fix "Save" godoc description
This commit is contained in:
commit
80250827ab
@ -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…
x
Reference in New Issue
Block a user