Skip to content

Commit

Permalink
by logic theory this is the same
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed Aug 30, 2024
1 parent d5e4a64 commit 4bf30dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
# Calculate consul server list using serf
server_list = `serf members -tag consul=ready -format=json | jq [.members[].addr] 2>/dev/null | sed 's/:[[:digit:]]\\+//' | tr -d '\n'`

if is_server || (!is_server && there_are_servers)
if is_server || there_are_servers

template "#{confdir}/consul.json" do
source 'consul.json.erb'
Expand Down

0 comments on commit 4bf30dd

Please sign in to comment.