Improve release upgrade "diff" debug log readability

This adds the release name to the beginning of the diff debug
log so that it's easier to correlate which diffs belong to which
components when reading the Armada logs.

Change-Id: If096f049a8057a46951ea70f2223a7a987636f5c
This commit is contained in:
DeJaeger, Darren (dd118r) 2021-05-12 11:34:23 -04:00
parent 84edebc470
commit 8e947c720c
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ class ChartDeploy(object):
else:
action = metrics.ChartDeployAction.UPGRADE
LOG.info("Found updates to chart release inputs")
LOG.debug("%s", diff)
LOG.debug("Release=%s, diff=%s", release_name, diff)
result['diff'] = {chart['release']: str(diff)}
def upgrade():