@@ -66,7 +66,7 @@ func (s *service) Register(gs *grpc.Server) error {
6666}
6767
6868func (s * service ) Prepare (ctx context.Context , pr * snapshotsapi.PrepareSnapshotRequest ) (* snapshotsapi.PrepareSnapshotResponse , error ) {
69- log .G (ctx ).WithField ("parent" , pr .Parent ).WithField ("key" , pr .Key ).Debugf ("Preparing snapshot" )
69+ log .G (ctx ).WithField ("parent" , pr .Parent ).WithField ("key" , pr .Key ).Debugf ("prepare snapshot" )
7070 sn , err := s .getSnapshotter (pr .Snapshotter )
7171 if err != nil {
7272 return nil , err
@@ -93,7 +93,7 @@ func (s *service) Prepare(ctx context.Context, pr *snapshotsapi.PrepareSnapshotR
9393}
9494
9595func (s * service ) View (ctx context.Context , pr * snapshotsapi.ViewSnapshotRequest ) (* snapshotsapi.ViewSnapshotResponse , error ) {
96- log .G (ctx ).WithField ("parent" , pr .Parent ).WithField ("key" , pr .Key ).Debugf ("Preparing view snapshot" )
96+ log .G (ctx ).WithField ("parent" , pr .Parent ).WithField ("key" , pr .Key ).Debugf ("prepare view snapshot" )
9797 sn , err := s .getSnapshotter (pr .Snapshotter )
9898 if err != nil {
9999 return nil , err
@@ -112,7 +112,7 @@ func (s *service) View(ctx context.Context, pr *snapshotsapi.ViewSnapshotRequest
112112}
113113
114114func (s * service ) Mounts (ctx context.Context , mr * snapshotsapi.MountsRequest ) (* snapshotsapi.MountsResponse , error ) {
115- log .G (ctx ).WithField ("key" , mr .Key ).Debugf ("Getting snapshot mounts" )
115+ log .G (ctx ).WithField ("key" , mr .Key ).Debugf ("get snapshot mounts" )
116116 sn , err := s .getSnapshotter (mr .Snapshotter )
117117 if err != nil {
118118 return nil , err
@@ -128,7 +128,7 @@ func (s *service) Mounts(ctx context.Context, mr *snapshotsapi.MountsRequest) (*
128128}
129129
130130func (s * service ) Commit (ctx context.Context , cr * snapshotsapi.CommitSnapshotRequest ) (* ptypes.Empty , error ) {
131- log .G (ctx ).WithField ("key" , cr .Key ).WithField ("name" , cr .Name ).Debugf ("Committing snapshot" )
131+ log .G (ctx ).WithField ("key" , cr .Key ).WithField ("name" , cr .Name ).Debugf ("commit snapshot" )
132132 sn , err := s .getSnapshotter (cr .Snapshotter )
133133 if err != nil {
134134 return nil , err
@@ -152,7 +152,7 @@ func (s *service) Commit(ctx context.Context, cr *snapshotsapi.CommitSnapshotReq
152152}
153153
154154func (s * service ) Remove (ctx context.Context , rr * snapshotsapi.RemoveSnapshotRequest ) (* ptypes.Empty , error ) {
155- log .G (ctx ).WithField ("key" , rr .Key ).Debugf ("Removing snapshot" )
155+ log .G (ctx ).WithField ("key" , rr .Key ).Debugf ("remove snapshot" )
156156 sn , err := s .getSnapshotter (rr .Snapshotter )
157157 if err != nil {
158158 return nil , err
@@ -171,7 +171,7 @@ func (s *service) Remove(ctx context.Context, rr *snapshotsapi.RemoveSnapshotReq
171171}
172172
173173func (s * service ) Stat (ctx context.Context , sr * snapshotsapi.StatSnapshotRequest ) (* snapshotsapi.StatSnapshotResponse , error ) {
174- log .G (ctx ).WithField ("key" , sr .Key ).Debugf ("Statting snapshot" )
174+ log .G (ctx ).WithField ("key" , sr .Key ).Debugf ("stat snapshot" )
175175 sn , err := s .getSnapshotter (sr .Snapshotter )
176176 if err != nil {
177177 return nil , err
@@ -186,7 +186,7 @@ func (s *service) Stat(ctx context.Context, sr *snapshotsapi.StatSnapshotRequest
186186}
187187
188188func (s * service ) Update (ctx context.Context , sr * snapshotsapi.UpdateSnapshotRequest ) (* snapshotsapi.UpdateSnapshotResponse , error ) {
189- log .G (ctx ).WithField ("key" , sr .Info .Name ).Debugf ("Updating snapshot" )
189+ log .G (ctx ).WithField ("key" , sr .Info .Name ).Debugf ("update snapshot" )
190190 sn , err := s .getSnapshotter (sr .Snapshotter )
191191 if err != nil {
192192 return nil , err
0 commit comments