Skip to content

Commit

Permalink
move confirm to util package
Browse files Browse the repository at this point in the history
  • Loading branch information
petedannemann committed Nov 16, 2023
1 parent 41981eb commit a6d7a5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/topicctl/subcmd/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"fmt"
"strconv"

"github.com/segmentio/topicctl/pkg/apply"
"github.com/segmentio/topicctl/pkg/cli"
"github.com/segmentio/topicctl/pkg/groups"
"github.com/segmentio/topicctl/pkg/util"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -167,7 +167,7 @@ func resetOffsetsRun(cmd *cobra.Command, args []string) error {
"Please ensure that all other consumers are stopped, otherwise the reset might be overridden.",
)

ok, _ := apply.Confirm("OK to continue?", false)
ok, _ := util.Confirm("OK to continue?", false)
if !ok {
return errors.New("Stopping because of user response")
}
Expand Down

0 comments on commit a6d7a5e

Please sign in to comment.