Skip to content

Commit

Permalink
#763 exclude 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 21, 2019
1 parent ad22d3e commit 574a800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zold/remotes.rb
Expand Up @@ -304,7 +304,7 @@ def load
master: master?(row[0], row[1].to_i)
}
end
raw.reject { |r| !r[:host] || r[:port].zero? }.map do |r|
raw.reject { |r| !r[:host] || r[:port].zero? || r[:host] == '0.0.0.0' }.map do |r|
r[:home] = URI("http://#{r[:host]}:#{r[:port]}/")
r
end
Expand Down

0 comments on commit 574a800

Please sign in to comment.