Skip to content

Commit

Permalink
Merge pull request #4 from projectsyn/fix/teams-no-owner
Browse files Browse the repository at this point in the history
Fix `teams()` to gracefully handle missing `syn.owner`
  • Loading branch information
simu authored Jan 6, 2025
2 parents 7e26651 + f7e25d6 commit aa01ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syn-teams.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ local teams(includeOwner=false) =
team
for team in std.objectFields(teamApplicationMap)
if
(includeOwner || team != inv.parameters.syn.owner) &&
(includeOwner || team != syn_owner) &&
std.length(teamApplicationMap[team]) > 0
];

Expand Down

0 comments on commit aa01ebc

Please sign in to comment.