Skip to content

Commit

Permalink
fix acl defaults for the repl
Browse files Browse the repository at this point in the history
  • Loading branch information
petedannemann committed Apr 15, 2024
1 parent ad761c7 commit f469c41
Showing 1 changed file with 9 additions and 1 deletion.
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

0 comments on commit f469c41

Please sign in to comment.