File tree Expand file tree Collapse file tree
api/core/v1alpha2/vicondition
images/virtualization-artifact/pkg/controller/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ const (
7979 ProvisioningNotStarted ReadyReason = "ProvisioningNotStarted"
8080 // ProvisioningFailed indicates that the provisioning process has failed.
8181 ProvisioningFailed ReadyReason = "ProvisioningFailed"
82+ // StorageClassNotReady indicates that the provisioning process pending because `StorageClass` not ready.
83+ StorageClassNotReady ReadyReason = "StorageClassNotReady"
8284 // Ready indicates that the import process is complete and the `VirtualImage` is ready for use.
8385 Ready ReadyReason = "Ready"
8486 // QuotaExceeded indicates that the VirtualImage is reached project quotas and can not be provisioned.
@@ -91,8 +93,6 @@ const (
9193
9294 // StorageClassReady indicates that the chosen StorageClass exists.
9395 StorageClassReady StorageClassReadyReason = "StorageClassReady"
94- // StorageClassNotReady indicates that the provisioning process pending because `StorageClass` not ready.
95- StorageClassNotReady ReadyReason = "StorageClassNotReady"
9696 // StorageClassNotFound indicates that the chosen StorageClass not found.
9797 StorageClassNotFound StorageClassReadyReason = "StorageClassNotFound"
9898 // DVCRTypeUsed indicates that the DVCR provisioning chosen.
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func NewVirtualImageStorageClassService(settings config.VirtualImageStorageClass
3939 }
4040}
4141
42- // GetStorageClass determines the storage class for VI from global settings and resource spec.
42+ // GetValidatedStorageClass determines the storage class for VI from global settings and resource spec.
4343//
4444// Global settings contain a default storage class and an array of allowed storageClasses from the ModuleConfig.
4545// Storage class is allowed if contained in the "allowed" array.
You can’t perform that action at this time.
0 commit comments