Skip to content

Commit cc0b0a4

Browse files
authored
Merge pull request #295 from microsoft/user/matthewchen/fix-lint
Fix Lint Error
2 parents 5b77626 + b94e375 commit cc0b0a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/azurestackhcivirtualmachine_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,14 @@ func (r *AzureStackHCIVirtualMachineReconciler) getOrCreate(virtualMachineScope
210210
case mocerrors.OutOfCapacity.Error():
211211
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.OutOfCapacityReason, clusterv1.ConditionSeverityError, err.Error())
212212
case mocerrors.OutOfNodeCapacity.Error():
213-
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.OutOfNodeCapacityReason, clusterv1.ConditionSeverityWarning, err.Error())
213+
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.OutOfNodeCapacityReason, clusterv1.ConditionSeverityWarning, err.Error())
214214
case mocerrors.NotFound.Error(): // "NotFound"
215215
fallthrough
216216
// Internally, NotFound is a legacy error and returns the error string instead.
217217
case moccodes.NotFound.String(): // "Not Found"
218218
if mocerrors.IsPathNotFound(err) {
219219
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.PathNotFoundReason, clusterv1.ConditionSeverityError, err.Error())
220-
} else {
220+
} else {
221221
conditions.MarkFalse(virtualMachineScope.AzureStackHCIVirtualMachine, infrav1.VMRunningCondition, infrav1.NotFoundReason, clusterv1.ConditionSeverityError, err.Error())
222222
}
223223
default:

0 commit comments

Comments
 (0)