diff --git a/cmd/maestro/agent/cmd.go b/cmd/maestro/agent/cmd.go index 65c5c338..25c0d4e4 100644 --- a/cmd/maestro/agent/cmd.go +++ b/cmd/maestro/agent/cmd.go @@ -93,7 +93,7 @@ func addFlags(fs *pflag.FlagSet) { fs.StringVar(&agentOption.WorkloadSourceDriver, "message-broker-type", "mqtt", "Message broker type (default: mqtt)") fs.StringVar(&agentOption.CloudEventsClientID, "agent-client-id", agentOption.CloudEventsClientID, "The ID of the agent client, by default it is -work-agent") - fs.StringSliceVar(&agentOption.CloudEventsClientCodecs, "agent-client-codec", - []string{"manifest"}, "The codec of the agent client. The valid codecs are manifest and manifestbundle") + fs.StringSliceVar(&agentOption.CloudEventsClientCodecs, "agent-client-codecs", + []string{"manifest"}, "The codecs of the agent client. The valid codecs are manifest and manifestbundle") } diff --git a/go.mod b/go.mod index 5ac71c22..2c0749a6 100755 --- a/go.mod +++ b/go.mod @@ -43,7 +43,7 @@ require ( k8s.io/klog/v2 v2.120.1 open-cluster-management.io/api v0.13.1-0.20240506072237-800b00d9f0db open-cluster-management.io/ocm v0.13.1-0.20240514020334-4117a4b3027f - open-cluster-management.io/sdk-go v0.13.1-0.20240515064508-7d68eaf5dd8f + open-cluster-management.io/sdk-go v0.13.1-0.20240516092635-a00a7ab51fd2 ) require ( diff --git a/go.sum b/go.sum index aeafbaeb..7c60fe9b 100755 --- a/go.sum +++ b/go.sum @@ -1181,6 +1181,8 @@ open-cluster-management.io/sdk-go v0.13.1-0.20240513131409-c283261a6f59 h1:F+wEc open-cluster-management.io/sdk-go v0.13.1-0.20240513131409-c283261a6f59/go.mod h1:XBrldz+AqVBy9miOVNIu+6l8JXS18i795XbTqIqURJU= open-cluster-management.io/sdk-go v0.13.1-0.20240515064508-7d68eaf5dd8f h1:MxePaz0WQNOPlnRKA4Vc58LSLeCpgJmSkDURLfUnXpk= open-cluster-management.io/sdk-go v0.13.1-0.20240515064508-7d68eaf5dd8f/go.mod h1:XBrldz+AqVBy9miOVNIu+6l8JXS18i795XbTqIqURJU= +open-cluster-management.io/sdk-go v0.13.1-0.20240516092635-a00a7ab51fd2 h1:wwrcC6TF1xRsXBB63GvxnTzDzTKKomhdSLjHZx4a9PY= +open-cluster-management.io/sdk-go v0.13.1-0.20240516092635-a00a7ab51fd2/go.mod h1:XBrldz+AqVBy9miOVNIu+6l8JXS18i795XbTqIqURJU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=