From 614c0287e494088dbf544ba2417d9f5045b6177f Mon Sep 17 00:00:00 2001 From: Dhiraj Bokde Date: Tue, 22 Nov 2022 00:52:28 +0000 Subject: [PATCH] fix: renamed ready.go to start.go --- rhoc/pkg/cmd/connectors/patch/{ready.go => start.go} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename rhoc/pkg/cmd/connectors/patch/{ready.go => start.go} (96%) diff --git a/rhoc/pkg/cmd/connectors/patch/ready.go b/rhoc/pkg/cmd/connectors/patch/start.go similarity index 96% rename from rhoc/pkg/cmd/connectors/patch/ready.go rename to rhoc/pkg/cmd/connectors/patch/start.go index ad876b4..c49617b 100644 --- a/rhoc/pkg/cmd/connectors/patch/ready.go +++ b/rhoc/pkg/cmd/connectors/patch/start.go @@ -25,7 +25,7 @@ func NewStartCommand(f *factory.Factory) *cobra.Command { return nil }, RunE: func(cmd *cobra.Command, args []string) error { - return opts.ready() + return opts.start() }, } @@ -36,7 +36,7 @@ func NewStartCommand(f *factory.Factory) *cobra.Command { return cmd } -func (opts options) ready() error { +func (opts options) start() error { if !opts.skipConfirm { confirm, promptErr := cmdutil.PromptConfirm("Are you sure you want to start the connector with id '%s'?", opts.id) if promptErr != nil {