Skip to content

Commit

Permalink
fix when acl allow is null (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed May 21, 2024
1 parent 22446d4 commit 206dcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/kong/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function loadGroupsProducer(xfer, destinationUrl, feedPath) {
allPlugins
.filter((p) => p.name == 'acl')
.map((p) => {
return p.config.allow.map((a) => {
p.config.allow?.forEach((a) => {
items.push({ namespace: toNamespace(p.tags), name: a });
});
});
Expand Down

0 comments on commit 206dcd9

Please sign in to comment.