diff --git a/pkg/blockstorage/azure/azuredisk.go b/pkg/blockstorage/azure/azuredisk.go index af55955817a..1b773f3896c 100644 --- a/pkg/blockstorage/azure/azuredisk.go +++ b/pkg/blockstorage/azure/azuredisk.go @@ -407,7 +407,7 @@ func (s *AdStorage) SnapshotParse(ctx context.Context, snapshot interface{}) (*b func (s *AdStorage) snapshotParse(ctx context.Context, snap armcompute.Snapshot) *blockstorage.Snapshot { vol := &blockstorage.Volume{ Type: s.Type(), - ID: *snap.Properties.CreationData.SourceResourceID, + ID: *snap.ID, } snapCreationTime := *snap.Properties.TimeCreated