Skip to content

Commit

Permalink
fix incorrect creationTime in dataPlane
Browse files Browse the repository at this point in the history
  • Loading branch information
umagnus authored and k8s-infra-cherrypick-robot committed Jul 8, 2024
1 parent c022091 commit e31e297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/azurefile/controllerserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ func (d *Driver) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequ
}

itemSnapshot = snapshotShare.Snapshot()
itemSnapshotTime = properties.LastModified()
itemSnapshotTime = properties.Date()
itemSnapshotQuota = properties.Quota()
} else {
fileshare, err := d.cloud.FileClient.WithSubscriptionID(subsID).GetFileShare(ctx, rgName, accountName, fileShareName, "")
Expand Down

0 comments on commit e31e297

Please sign in to comment.