Skip to content

Commit

Permalink
add comments for stores in snapshot manager
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn committed Mar 21, 2022
1 parent 197552f commit 948387d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snapshots/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ import (
// 2) io.ReadCloser streams automatically propagate IO errors, and can pass arbitrary
// errors via io.Pipe.CloseWithError().
type Manager struct {
// store is the snapshot store where all completed snapshots are persisted.
store *Store
opts *types.SnapshotOptions
// target is the store from which snapshots are taken.
target types.Snapshotter
logger log.Logger

Expand Down

0 comments on commit 948387d

Please sign in to comment.