Prechádzať zdrojové kódy

Adding missed line change

Eric Wolinetz 7 rokov pred
rodič
commit
7c1febe5fa

+ 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