Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
petedannemann committed Feb 12, 2024
1 parent 94ea31b commit 66b987c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/topicctl/subcmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/segmentio/kafka-go"
"github.com/segmentio/topicctl/pkg/acl"
"github.com/segmentio/topicctl/pkg/admin"
"github.com/segmentio/topicctl/pkg/cli"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -54,7 +55,7 @@ func deletePreRun(cmd *cobra.Command, args []string) error {
var deleteACLsConfig = aclsCmdConfig{
// This was added in a later version of Kafka, so we provide a default
// value to avoid breaking existing users by making this required.
ResourcePatternType: kafka.PatternTypeAny,
resourcePatternType: admin.PatternType(kafka.PatternTypeAny),
}

func deleteACLCmd() *cobra.Command {
Expand Down

0 comments on commit 66b987c

Please sign in to comment.