dps: Fixed duplicated ports.
This commit is contained in:
parent
f21c3fdb52
commit
28445e30d2
2
dps.rb
2
dps.rb
@ -45,7 +45,7 @@ class Container
|
|||||||
else
|
else
|
||||||
"#{COLOR_RED}#{p[:PrivatePort]}->#{p[:PublicPort]}#{type}"
|
"#{COLOR_RED}#{p[:PrivatePort]}->#{p[:PublicPort]}#{type}"
|
||||||
end
|
end
|
||||||
end.join(" ")
|
end.uniq.join(" ")
|
||||||
|
|
||||||
set :nginx_allow, @data[:Labels][:"nginx_allow"]
|
set :nginx_allow, @data[:Labels][:"nginx_allow"]
|
||||||
st = @data[:Status]
|
st = @data[:Status]
|
||||||
|
Loading…
Reference in New Issue
Block a user