Bladeren bron

Adding missed line change

Eric Wolinetz 7 jaren geleden
bovenliggende
commit
7c1febe5fa
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      roles/openshift_logging/library/logging_patch.py

+ 1 - 1
roles/openshift_logging/library/logging_patch.py

@@ -81,7 +81,7 @@ def account_for_whitelist(current_file_contents, new_file_contents, white_list=N
         if new_file_line:
         if new_file_line:
             current_file_contents = re.sub(regex_line, new_file_line.group(0), current_file_contents)
             current_file_contents = re.sub(regex_line, new_file_line.group(0), current_file_contents)
         else:
         else:
-            current_file_contents = re.sub(regex_line % line, "", current_file_contents)
+            current_file_contents = re.sub(regex_line, "", current_file_contents)
 
 
     return current_file_contents
     return current_file_contents