Skip to content

Commit

Permalink
fix: renamed ready.go to start.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirajsb authored and Luis Garcia Acosta committed Nov 22, 2022
1 parent 74b27d0 commit 614c028
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},
}

Expand All @@ -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 {
Expand Down

0 comments on commit 614c028

Please sign in to comment.