Don't show certificate details.
This commit is contained in:
parent
e2bd375198
commit
8cad86560d
2
dps.rb
2
dps.rb
@ -21,7 +21,7 @@ class Container
|
|||||||
set :ouroboros, @data[:Labels][:"com.centurylinklabs.watchtower.enable"]=="true" ? "✓" : ""
|
set :ouroboros, @data[:Labels][:"com.centurylinklabs.watchtower.enable"]=="true" ? "✓" : ""
|
||||||
set :name, @data[:Names].first[1..-1]
|
set :name, @data[:Names].first[1..-1]
|
||||||
|
|
||||||
vh = @data[:Labels][:"nginx_virtual_host"]&.split(",")&.collect(&:strip)
|
vh = @data[:Labels][:"nginx_virtual_host"]&.split(",")&.map{|h| h.split("@").first.strip}
|
||||||
if vh.nil? || vh.count==0
|
if vh.nil? || vh.count==0
|
||||||
vh = ""
|
vh = ""
|
||||||
elsif vh.count==1
|
elsif vh.count==1
|
||||||
|
Loading…
Reference in New Issue
Block a user