diff --git a/rhoc/pkg/cmd/connectors/connectors.go b/rhoc/pkg/cmd/connectors/connectors.go index 3372858..435538a 100644 --- a/rhoc/pkg/cmd/connectors/connectors.go +++ b/rhoc/pkg/cmd/connectors/connectors.go @@ -24,7 +24,7 @@ func NewConnectorsCommand(f *factory.Factory) *cobra.Command { delete.NewDeletesCommand(f), get.NewGetCommand(f), types.NeConnectorTypesCommand(f), - patch.NewReadyCommand(f), + patch.NewStartCommand(f), patch.NewStopCommand(f)) return cmd diff --git a/rhoc/pkg/cmd/connectors/patch/ready.go b/rhoc/pkg/cmd/connectors/patch/ready.go index 5b34ada..ad876b4 100644 --- a/rhoc/pkg/cmd/connectors/patch/ready.go +++ b/rhoc/pkg/cmd/connectors/patch/ready.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" ) -func NewReadyCommand(f *factory.Factory) *cobra.Command { +func NewStartCommand(f *factory.Factory) *cobra.Command { opts := options{ f: f, }