@@ -337,14 +337,13 @@ func (s *Service) createCertManager(hosts []string, options ServiceOptions) (Cer
337337}
338338
339339func (s * Service ) createAutoCertHostPolicy (hosts []string , options ServiceOptions ) (autocert.HostPolicy , error ) {
340- slog .Info ("createAutoCertHostPolicy called" , options . TLSOnDemandUrl , len ( hosts ), "🚨 " , "ok" )
340+ slog .Info ("createAutoCertHostPolicy called" , "url " , options . TLSOnDemandUrl )
341341
342342 if options .TLSOnDemandUrl == "" {
343343 return autocert .HostWhitelist (hosts ... ), nil
344344 }
345345
346346 _ , err := url .ParseRequestURI (options .TLSOnDemandUrl )
347-
348347 if err != nil {
349348 slog .Error ("Unable to parse the tls_on_demand_url URL" )
350349 return nil , err
@@ -353,10 +352,9 @@ func (s *Service) createAutoCertHostPolicy(hosts []string, options ServiceOption
353352 slog .Info ("Will use the tls_on_demand_url URL" )
354353
355354 return func (ctx context.Context , host string ) error {
356- slog .Info ("Get a certificate for " , host , "🤞" )
355+ slog .Info ("Get a certificate" , " host" , host )
357356
358357 resp , err := http .Get (fmt .Sprintf ("%s?host=%s" , options .TLSOnDemandUrl , url .QueryEscape (host )))
359-
360358 if err != nil {
361359 slog .Error ("Unable to reach the TLS on demand URL" , host , err )
362360 return err
0 commit comments