Skip to content

Commit ee43ea7

Browse files
authored
Merge pull request #293 from microsoft/user/matthewchen/severity-error
Path not found Severity Error
2 parents ae23c92 + 81c6bde commit ee43ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/azurestackhcivirtualmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func (r *AzureStackHCIVirtualMachineReconciler) getOrCreate(virtualMachineScope
211211
case mocerrors.OutOfNodeCapacity.Error():
212212
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.OutOfNodeCapacityReason, clusterv1.ConditionSeverityWarning, err.Error())
213213
case mocerrors.PathNotFound.Error():
214-
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.PathNotFoundReason, clusterv1.ConditionSeverityWarning, err.Error())
214+
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.PathNotFoundReason, clusterv1.ConditionSeverityError, err.Error())
215215
default:
216216
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.VMProvisionFailedReason, clusterv1.ConditionSeverityError, err.Error())
217217
}

0 commit comments

Comments
 (0)