You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix status update when starting orphan mitigation (#1372)
* keep InProgressProperties when orphan mitigating
* add instance OM handling in API server
* add binding OM to API server validation
* do not clear IPP for binding OM
* add integration test
* add tests
* format code
allErrs=append(allErrs, field.Forbidden(fldPath.Child("operationStartTime"), "operationStartTime must not be present when currentOperation is not present"))
96
96
}
97
97
} else {
98
-
ifstatus.OperationStartTime==nil {
99
-
allErrs=append(allErrs, field.Required(fldPath.Child("operationStartTime"), "operationStartTime is required when currentOperation is present"))
allErrs=append(allErrs, field.Required(fldPath.Child("operationStartTime"), "operationStartTime is required when currentOperation is present and no orphan mitigation in progress"))
100
100
}
101
101
// Do not allow the binding to be ready if there is an on-going operation
allErrs=append(allErrs, field.Required(fldPath.Child("operationStartTime"), "operationStartTime is required when currentOperation is present and no orphan mitigation in progress"))
127
127
}
128
128
// Do not allow the instance to be ready if there is an on-going operation
0 commit comments