Skip to content

Commit

Permalink
Signed-off-by: Arashad Ahamad <[email protected]> (#76)
Browse files Browse the repository at this point in the history
for supporting snapshot CRN to create volume from snapshot crn
  • Loading branch information
arahamad authored Aug 22, 2024
1 parent dc0f110 commit d029348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/provider/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ func FromProviderToLibSnapshot(vpcSnapshot *models.Snapshot, logger *zap.Logger)
libSnapshot = &provider.Snapshot{
VolumeID: vpcSnapshot.SourceVolume.ID,
SnapshotID: vpcSnapshot.ID,
SnapshotCRN: vpcSnapshot.CRN,
SnapshotCreationTime: createdTime,
SnapshotSize: GiBToBytes(vpcSnapshot.MinimumCapacity),
VPC: provider.VPC{Href: vpcSnapshot.Href},
Expand Down

0 comments on commit d029348

Please sign in to comment.