Skip to content

Commit

Permalink
Merge pull request #1276 from syseleven/1274_fix_upstream_member_cond…
Browse files Browse the repository at this point in the history
…ition

Fix the condition for upstream members
  • Loading branch information
ekohl committed Dec 15, 2018
2 parents 3f1893e + 5f9f9e4 commit ce69db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/resource/upstream.pp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
}),
}

if $members != undef {
if ! empty($members) {
$members.each |$member,$values| {
$member_values = merge($member_defaults,$values,{'upstream' => $name,'context' => $context})

Expand Down

0 comments on commit ce69db2

Please sign in to comment.