File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ def check_container_t2(c):
286
286
def label_host ():
287
287
for prop in c .attrs .get (u'Config' ).get (u'Labels' ):
288
288
value = c .attrs .get (u'Config' ).get (u'Labels' ).get (prop )
289
- if re .match ('traefik.*?\.rule' , prop ):
289
+ if re .match (r 'traefik.*?\.rule' , prop ):
290
290
if 'Host' in value :
291
291
logger .debug ("Container ID: %s rule value: %s" , cont_id , value )
292
292
extracted_domains = re .findall (r'\`([a-zA-Z0-9\.\-]+)\`' , value )
@@ -319,7 +319,7 @@ def check_service_t2(s):
319
319
def label_host ():
320
320
for prop in s .attrs .get (u'Spec' ).get (u'Labels' ):
321
321
value = s .attrs .get (u'Spec' ).get (u'Labels' ).get (prop )
322
- if re .match ('traefik.*?\.rule' , prop ):
322
+ if re .match (r 'traefik.*?\.rule' , prop ):
323
323
if 'Host' in value :
324
324
logger .debug ("Service ID: %s rule value: %s" , cont_id , value )
325
325
extracted_domains = re .findall (r'\`([a-zA-Z0-9\.\-]+)\`' , value )
You can’t perform that action at this time.
0 commit comments