|
|
|
@@ -99,7 +99,7 @@ func UpdateDeployInstanceStatus(svc *svc.ServiceContext, instance *models.AiInfe |
|
|
|
return |
|
|
|
} |
|
|
|
url := ins.InferUrl |
|
|
|
err := ReportStatus(svc, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), url, true, "") |
|
|
|
err := ReportInferenceStatusMessages(svc, instance, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), url, true, "") |
|
|
|
if err != nil { |
|
|
|
logx.Errorf("############ Report Infer Task Status Message Error %s", err.Error()) |
|
|
|
} |
|
|
|
@@ -127,7 +127,7 @@ func UpdateDeployInstanceStatus(svc *svc.ServiceContext, instance *models.AiInfe |
|
|
|
return |
|
|
|
} |
|
|
|
url := ins.InferUrl |
|
|
|
err := ReportStatus(svc, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), url, true, "") |
|
|
|
err := ReportInferenceStatusMessages(svc, instance, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), url, true, "") |
|
|
|
if err != nil { |
|
|
|
logx.Errorf("############ Report Infer Task Status Message Error %s", err.Error()) |
|
|
|
} |
|
|
|
@@ -149,7 +149,7 @@ func UpdateDeployInstanceStatus(svc *svc.ServiceContext, instance *models.AiInfe |
|
|
|
} |
|
|
|
return |
|
|
|
} |
|
|
|
err := ReportStatus(svc, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), "", false, ins.Status) |
|
|
|
err := ReportInferenceStatusMessages(svc, instance, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), "", false, ins.Status) |
|
|
|
if err != nil { |
|
|
|
logx.Errorf("############ Report Infer Task Status Message Error %s", err.Error()) |
|
|
|
} |
|
|
|
@@ -191,7 +191,7 @@ func UpdateDeployInstanceStatus(svc *svc.ServiceContext, instance *models.AiInfe |
|
|
|
return |
|
|
|
} |
|
|
|
url := ins.InferUrl |
|
|
|
err := ReportStatus(svc, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), url, true, "") |
|
|
|
err := ReportInferenceStatusMessages(svc, instance, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), url, true, "") |
|
|
|
if err != nil { |
|
|
|
logx.Errorf("############ Report Infer Task Status Message Error %s", err.Error()) |
|
|
|
} |
|
|
|
@@ -213,7 +213,7 @@ func UpdateDeployInstanceStatus(svc *svc.ServiceContext, instance *models.AiInfe |
|
|
|
} |
|
|
|
return |
|
|
|
} |
|
|
|
err := ReportStatus(svc, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), "", false, ins.Status) |
|
|
|
err := ReportInferenceStatusMessages(svc, instance, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), "", false, ins.Status) |
|
|
|
if err != nil { |
|
|
|
logx.Errorf("############ Report Infer Task Status Message Error %s", err.Error()) |
|
|
|
} |
|
|
|
@@ -226,7 +226,7 @@ func UpdateDeployInstanceStatus(svc *svc.ServiceContext, instance *models.AiInfe |
|
|
|
} |
|
|
|
return |
|
|
|
} |
|
|
|
err := ReportStatus(svc, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), "", false, ins.Status) |
|
|
|
err := ReportInferenceStatusMessages(svc, instance, instance.InstanceName, strconv.FormatInt(instance.DeployInstanceTaskId, 10), strconv.FormatInt(instance.ClusterId, 10), "", false, ins.Status) |
|
|
|
if err != nil { |
|
|
|
logx.Errorf("############ Report Infer Task Status Message Error %s", err.Error()) |
|
|
|
} |
|
|
|
|