From 20f07742aefd1b198201db56bc544241152962b6 Mon Sep 17 00:00:00 2001 From: Peter Dannemann <28637185+petedannemann@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:34:27 -0400 Subject: [PATCH] fix: acl defaults for the repl (#190) * fix acl defaults for the repl * bump version --- pkg/cli/repl.go | 10 +++++++++- pkg/version/version.go | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pkg/cli/repl.go b/pkg/cli/repl.go index d1f2682..f167fd2 100644 --- a/pkg/cli/repl.go +++ b/pkg/cli/repl.go @@ -239,7 +239,15 @@ func (r *Repl) executor(in string) { log.Errorf("Error: %+v", err) return } - if err := r.cliRunner.GetACLs(ctx, kafka.ACLFilter{}); err != nil { + if err := r.cliRunner.GetACLs(ctx, kafka.ACLFilter{ + HostFilter: "", + Operation: kafka.ACLOperationTypeAny, + PermissionType: kafka.ACLPermissionTypeAny, + PrincipalFilter: "", + ResourceNameFilter: "", + ResourceTypeFilter: kafka.ResourceTypeAny, + ResourcePatternTypeFilter: kafka.PatternTypeAny, + }); err != nil { log.Errorf("Error: %+v", err) return } diff --git a/pkg/version/version.go b/pkg/version/version.go index f9825ff..7fa3813 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,4 +1,4 @@ package version // Version is the current topicctl version. -const Version = "1.16.0" +const Version = "1.16.1"