Explorar o código

Adding missed line change

Eric Wolinetz %!s(int64=7) %!d(string=hai) anos
pai
achega
7c1febe5fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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:
             current_file_contents = re.sub(regex_line, new_file_line.group(0), current_file_contents)
         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