Fix missing flag variable name in logs
This commit fixes two log messages that aren't being correctly formatted, due to missing the variable name to expand %s. Test Plan PASS: run deploy delete and verify the log message is correct Story: 2010676 Task: 50701 Change-Id: I09b4c47f51db0c5253e127c4cc956d69623a472a Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
This commit is contained in:
@@ -1483,9 +1483,9 @@ def clean_up_deployment_data(major_release):
|
||||
for flag in upgrade_flags:
|
||||
try:
|
||||
os.remove(flag)
|
||||
LOG.info("Flag %s removed.")
|
||||
LOG.info("Flag %s removed." % flag)
|
||||
except FileNotFoundError:
|
||||
LOG.warning("Flag %s not found. Skipping...")
|
||||
LOG.warning("Flag %s not found. Skipping..." % flag)
|
||||
|
||||
|
||||
def run_deploy_clean_up_script(release):
|
||||
|
||||
Reference in New Issue
Block a user