Skip to content

Commit a9d1a60

Browse files
authored
Merge pull request #338 from huffmanca/correct-timestamp
Adjusted the date printing to address unit test failure
2 parents 3c32e28 + d392f5c commit a9d1a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/snapshotter/snapshotter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (s *snapshot) CreateSnapshot(ctx context.Context, snapshotName string, volu
7373
return "", "", time.Time{}, 0, false, err
7474
}
7575

76-
klog.V(5).Infof("CSI CreateSnapshot: %s driver name [%s] snapshot ID [%s] time stamp [%d] size [%d] readyToUse [%v]", snapshotName, driverName, rsp.Snapshot.SnapshotId, rsp.Snapshot.CreationTime, rsp.Snapshot.SizeBytes, rsp.Snapshot.ReadyToUse)
76+
klog.V(5).Infof("CSI CreateSnapshot: %s driver name [%s] snapshot ID [%s] time stamp [%v] size [%d] readyToUse [%v]", snapshotName, driverName, rsp.Snapshot.SnapshotId, rsp.Snapshot.CreationTime, rsp.Snapshot.SizeBytes, rsp.Snapshot.ReadyToUse)
7777
creationTime, err := ptypes.Timestamp(rsp.Snapshot.CreationTime)
7878
if err != nil {
7979
return "", "", time.Time{}, 0, false, err

0 commit comments

Comments
 (0)