Skip to content

Commit

Permalink
Fix for incorrect variable (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattops authored Jun 4, 2024
1 parent 58c24bc commit 94ece36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion health_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update_app_version(app_version, c_name, e_name):

if last_version != app_version:
redis.xadd(version_key, version_data, maxlen=200, approximate=False)
redis.json().set('latest:versions', f'$.{version_key}', stream_data)
redis.json().set('latest:versions', f'$.{version_key}', version_key)
log.info(f'Updating redis with new version. {version_key} = {version_data}')
except Exception as e:
log.error(e)
Expand Down

0 comments on commit 94ece36

Please sign in to comment.