File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import (
2121 "github.com/segmentio/topicctl/pkg/config"
2222 "github.com/segmentio/topicctl/pkg/groups"
2323 "github.com/segmentio/topicctl/pkg/messages"
24+ "github.com/segmentio/topicctl/pkg/util"
2425 log "github.com/sirupsen/logrus"
2526)
2627
@@ -616,12 +617,12 @@ func (c *CLIRunner) DeleteTopic(ctx context.Context, topic string) error {
616617 _ , err := c .adminClient .GetTopic (ctx , topic , false )
617618 if err != nil {
618619 c .stopSpinner ()
619- return fmt .Errorf ("Error fetching topic info: %+v" , err )
620+ return fmt .Errorf ("error fetching topic info: %+v" , err )
620621 }
621622 c .stopSpinner ()
622623 c .printer ("Topic %s exists in the cluster!" , topic )
623624
624- confirm , err := apply .Confirm (fmt .Sprintf ("Delete topic \" %s\" " , topic ), false )
625+ confirm , err := util .Confirm (fmt .Sprintf ("Delete topic \" %s\" " , topic ), false )
625626 if err != nil {
626627 return err
627628 }
You can’t perform that action at this time.
0 commit comments