Merge pull request #9208 from gyuho/fix-godoc-snapshot

snapshot: fix "Save" godoc description
This commit is contained in:
Gyuho Lee 2018-01-23 14:54:46 -08:00 committed by GitHub
commit 80250827ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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