logging: fix names of keys
The stricter checking with the upcoming logcheck v0.4.1 pointed out these names which don't comply with our recommendations in https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/migration-to-structured-logging.md#name-arguments.
This commit is contained in:
@@ -651,7 +651,7 @@ func (s *service) DeleteSnapshot(ctx context.Context,
|
||||
// leaks. The slice's elements may not be pointers, but the structs
|
||||
// themselves have fields that are.
|
||||
s.snapshots.Delete(i)
|
||||
klog.V(5).InfoS("mock delete snapshot", "SnapshotId", req.SnapshotId)
|
||||
klog.V(5).InfoS("mock delete snapshot", "snapshotId", req.SnapshotId)
|
||||
|
||||
if hookVal, hookMsg := s.execHook("DeleteSnapshotEnd"); hookVal != codes.OK {
|
||||
return nil, status.Errorf(hookVal, hookMsg)
|
||||
|
Reference in New Issue
Block a user