Skip to content

Commit

Permalink
Param server might also be a default upstream param
Browse files Browse the repository at this point in the history
I don't see a reason, why server shouldn't be a parameter which gets set within member_defaults, e.g. if only the port is changing, this makes the manifest a little bit easier.
  • Loading branch information
saz authored Feb 1, 2019
1 parent a1863b2 commit 615abd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/upstreammemberdefaults.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type Nginx::UpstreamMemberDefaults = Struct[{
server => Optional[Nginx::UpstreamMemberServer],
port => Optional[Stdlib::Port],
weight => Optional[Integer[1]],
max_conns => Optional[Integer[1]],
Expand Down

0 comments on commit 615abd5

Please sign in to comment.