Don't show certificate details.

This commit is contained in:
Fabian Schlenz 2022-10-27 15:04:08 +02:00
parent e2bd375198
commit 8cad86560d

2
dps.rb
View File

@ -21,7 +21,7 @@ class Container
set :ouroboros, @data[:Labels][:"com.centurylinklabs.watchtower.enable"]=="true" ? "" : ""
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
vh = ""
elsif vh.count==1