@@ -1495,22 +1495,22 @@ func (umh UpdateMachineHandler) Handle(c echo.Context) error {
14951495
14961496 we , err := stc .ExecuteWorkflow (wfCtx , wfOpts , "ApplyMachineHealthReportOverride" , insReq )
14971497 if err != nil {
1498- logger .Error ().Err (err ).Msg ("failed to start Temporal workflow for online repair health override" )
1499- return cutil .NewAPIErrorResponse (c , http .StatusInternalServerError , fmt .Sprintf ("Failed to start online repair workflow on Site: %s" , err ), nil )
1498+ logger .Error ().Err (err ).Msg ("failed to start Temporal workflow for applying online repair health override" )
1499+ return cutil .NewAPIErrorResponse (c , http .StatusInternalServerError , fmt .Sprintf ("Failed to start applying online repair health override workflow on Site: %s" , err ), nil )
15001500 }
15011501 wid := we .GetID ()
1502- logger .Info ().Str ("Workflow ID" , wid ).Msg ("executed synchronous ApplyMachineHealthReportOverride workflow" )
1502+ logger .Info ().Str ("Workflow ID" , wid ).Msg ("executed synchronous applying online repair health override workflow" )
15031503 err = we .Get (wfCtx , nil )
15041504 if err != nil {
15051505 var timeoutErr * tp.TimeoutError
15061506 if errors .As (err , & timeoutErr ) || err == context .DeadlineExceeded || wfCtx .Err () != nil || ctx .Err () != nil {
15071507 return common .TerminateWorkflowOnTimeOut (c , logger , stc , wid , err , "Machine" , "ApplyMachineHealthReportOverride" )
15081508 }
15091509 code , werr := common .UnwrapWorkflowError (err )
1510- logger .Error ().Err (werr ).Msg ("online repair health override workflow failed" )
1511- return cutil .NewAPIErrorResponse (c , code , fmt .Sprintf ("Failed to execute online repair workflow on Site: %s" , werr ), nil )
1510+ logger .Error ().Err (werr ).Msg ("applying online repair health override workflow failed" )
1511+ return cutil .NewAPIErrorResponse (c , code , fmt .Sprintf ("Failed to execute applying online repair health override workflow on Site: %s" , werr ), nil )
15121512 }
1513- logger .Info ().Str ("Workflow ID" , wid ).Msg ("completed synchronous ApplyMachineHealthReportOverride workflow" )
1513+ logger .Info ().Str ("Workflow ID" , wid ).Msg ("completed synchronous applying online repair health override workflow" )
15141514 } else {
15151515 if inst .Status != cdbm .InstanceStatusRepairing {
15161516 return cutil .NewAPIErrorResponse (c , http .StatusBadRequest , fmt .Sprintf ("Instance must be in Repairing state to exit online repair (current state: %s)" , inst .Status ), nil )
@@ -1605,7 +1605,7 @@ func buildOnlineRepairHealthInsertRequest(machineID string, req *model.APIMachin
16051605 TenantMessage : cdb .GetStrPtr (fmt .Sprintf ("TenantReportedIssue: %s" , mhi .Summary )),
16061606 Classifications : []string {
16071607 "PreventAllocations" ,
1608- "PreventDeletion " ,
1608+ "PreventInstanceDeletion " ,
16091609 "SuppressExternalAlerting" ,
16101610 },
16111611 }
0 commit comments