diff --git a/internal/core/load/service.go b/internal/core/load/service.go index 9e423fe..124f976 100644 --- a/internal/core/load/service.go +++ b/internal/core/load/service.go @@ -553,7 +553,7 @@ func (l *LoadService) getAndDefaultMci(ctx context.Context, antVmCommonSpec, ant dynamicMciArg := tumblebug.DynamicMciReq{ Description: antMciDescription, InstallMonAgent: antInstallMonAgent, - Label: antMciLabel, + Label: map[string]string{"label": "DynamicMci,AntDefault"}, Name: antMciId, SystemLabel: "", VM: []tumblebug.DynamicVmReq{ diff --git a/internal/infra/outbound/tumblebug/req.go b/internal/infra/outbound/tumblebug/req.go index a1ec66e..3301195 100644 --- a/internal/infra/outbound/tumblebug/req.go +++ b/internal/infra/outbound/tumblebug/req.go @@ -142,10 +142,10 @@ type DynamicVmReq struct { } type DynamicMciReq struct { - Description string `json:"description"` - InstallMonAgent string `json:"installMonAgent"` - Label string `json:"label"` - Name string `json:"name"` - SystemLabel string `json:"systemLabel"` - VM []DynamicVmReq `json:"vm"` + Description string `json:"description"` + InstallMonAgent string `json:"installMonAgent"` + Label map[string]string `json:"label"` + Name string `json:"name"` + SystemLabel string `json:"systemLabel"` + VM []DynamicVmReq `json:"vm"` }