Skip to content

Commit e31e297

Browse files
umagnusk8s-infra-cherrypick-robot
authored andcommitted
fix incorrect creationTime in dataPlane
1 parent c022091 commit e31e297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azurefile/controllerserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ func (d *Driver) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequ
972972
}
973973

974974
itemSnapshot = snapshotShare.Snapshot()
975-
itemSnapshotTime = properties.LastModified()
975+
itemSnapshotTime = properties.Date()
976976
itemSnapshotQuota = properties.Quota()
977977
} else {
978978
fileshare, err := d.cloud.FileClient.WithSubscriptionID(subsID).GetFileShare(ctx, rgName, accountName, fileShareName, "")

0 commit comments

Comments
 (0)