From 4ab7290610c8e9e14aa008f2001eb5a8f39c0722 Mon Sep 17 00:00:00 2001 From: jagger Date: Wed, 31 Jul 2024 17:07:07 +0800 Subject: [PATCH] fix bug Signed-off-by: jagger Former-commit-id: 4c64c4781cc4ee46f20d152683deb7e4cb5ad3f3 --- desc/inference/inference.api | 2 +- internal/types/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desc/inference/inference.api b/desc/inference/inference.api index 12fe84a4..4f8b3451 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -122,7 +122,7 @@ type ( } StartAllByDeployTaskIdReq { - Id string `form:"deployTaskId" json:"deployTaskId"` + Id string `json:"deployTaskId"` } StartAllByDeployTaskIdResp { diff --git a/internal/types/types.go b/internal/types/types.go index a069f836..26c11e93 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6014,7 +6014,7 @@ type InferenceTaskStatResp struct { } type StartAllByDeployTaskIdReq struct { - Id string `form:"deployTaskId" json:"deployTaskId"` + Id string `json:"deployTaskId"` } type StartAllByDeployTaskIdResp struct {