Skip to content

Commit

Permalink
Merge pull request #1112 from a110605/issue-6371
Browse files Browse the repository at this point in the history
Add image restoring status
  • Loading branch information
bk201 authored Aug 27, 2024
2 parents b97bf06 + 0443560 commit a400046
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/harvester/models/harvesterhci.io.virtualmachineimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export default class HciVmImage extends HarvesterResource {
const imported = this.getStatusConditionOfType('Imported');

if (imported?.status === 'Unknown') {
if (this.spec.sourceType === 'restore') {
return 'Restoring';
}

if (this.spec.sourceType === 'download') {
return 'Downloading';
}
Expand Down

0 comments on commit a400046

Please sign in to comment.