Skip to content

Commit

Permalink
fix: acl defaults for the repl (#190)
Browse files Browse the repository at this point in the history
* fix acl defaults for the repl

* bump version
  • Loading branch information
petedannemann authored Apr 15, 2024
1 parent ad761c7 commit 20f0774
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion pkg/cli/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package version

// Version is the current topicctl version.
const Version = "1.16.0"
const Version = "1.16.1"

0 comments on commit 20f0774

Please sign in to comment.