Browse Source

updated GetRunningInstance apis

Former-commit-id: e3b83f6535
pull/289/head
tzwang 1 year ago
parent
commit
b016f42a0f
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      desc/inference/inference.api
  2. +2
    -1
      internal/types/types.go

+ 1
- 0
desc/inference/inference.api View File

@@ -158,6 +158,7 @@ type (


GetRunningInstanceReq { GetRunningInstanceReq {
Id string `form:"deployTaskId"` Id string `form:"deployTaskId"`
AdapterId string `form:"adapterId"`
} }
GetRunningInstanceResp { GetRunningInstanceResp {
List interface{} `json:"list"` List interface{} `json:"list"`


+ 2
- 1
internal/types/types.go View File

@@ -6053,7 +6053,8 @@ type StopAllByDeployTaskIdResp struct {
} }


type GetRunningInstanceReq struct { type GetRunningInstanceReq struct {
Id string `form:"deployTaskId"`
Id string `form:"deployTaskId"`
AdapterId string `form:"adapterId"`
} }


type GetRunningInstanceResp struct { type GetRunningInstanceResp struct {


Loading…
Cancel
Save