diff --git a/dps.rb b/dps.rb index 79315b6..569b1b3 100755 --- a/dps.rb +++ b/dps.rb @@ -45,7 +45,7 @@ class Container else "#{COLOR_RED}#{p[:PrivatePort]}->#{p[:PublicPort]}#{type}" end - end.join(" ") + end.uniq.join(" ") set :nginx_allow, @data[:Labels][:"nginx_allow"] st = @data[:Status]