From 168275509814a78af8bfcc15e404afc7e948274b Mon Sep 17 00:00:00 2001 From: tzwang Date: Thu, 13 Mar 2025 10:18:17 +0800 Subject: [PATCH] updated types.CodeDistribute --- desc/schedule/pcm-schedule.api | 2 +- internal/types/types.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/desc/schedule/pcm-schedule.api b/desc/schedule/pcm-schedule.api index ba92e992..d5b5d6e3 100644 --- a/desc/schedule/pcm-schedule.api +++ b/desc/schedule/pcm-schedule.api @@ -205,7 +205,7 @@ type ( DataName string `json:"dataName,optional"` PackageID int64 `json:"packageID"` Output string `json:"output"` - Clusters *ClusterScheduled `json:"cluster"` + Clusters []*ClusterScheduled `json:"clusters"` } ImageDistribute { diff --git a/internal/types/types.go b/internal/types/types.go index eb65ce93..b1b4e762 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -5973,10 +5973,10 @@ type DatasetDistribute struct { } type CodeDistribute struct { - DataName string `json:"dataName,optional"` - PackageID int64 `json:"packageID"` - Output string `json:"output"` - Clusters *ClusterScheduled `json:"cluster"` + DataName string `json:"dataName,optional"` + PackageID int64 `json:"packageID"` + Output string `json:"output"` + Clusters []*ClusterScheduled `json:"clusters"` } type ImageDistribute struct {