dps: Fixed duplicated ports.

This commit is contained in:
Fabian Schlenz 2021-11-02 15:07:30 +01:00
parent f21c3fdb52
commit 28445e30d2

2
dps.rb
View File

@ -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]