Skip to content

Commit

Permalink
Merge pull request #80 from DreamLab/bugfix/preset_logging
Browse files Browse the repository at this point in the history
fix preset logging
  • Loading branch information
rjastrzebski authored May 18, 2021
2 parents 9073878 + 2e49ae5 commit f602bb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Changelog
=========


1.6.4 (2021-05-18)
------------------

* bugfix: preset logging


1.6.3 (2021-05-15)
------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read(name):

setup(
name="vmshepherd",
version="1.6.3",
version="1.6.4",
author='Dreamlab - PaaS KRK',
author_email='[email protected]',
url='https://github.com/Dreamlab/vmshepherd',
Expand Down
2 changes: 1 addition & 1 deletion src/vmshepherd/presets/preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ async def _healthcheck(self, vms):
logging.info(
'Vm %s, healthcheck failed (count %s) for %s seconds', vm_id,
self.runtime.failed_checks[vm_id]['count'],
int(time.time() - self.runtime.failed_checks[vm_id]['time'])
int(time.time() - self.runtime.failed_checks[vm_id]['time']), extra=self._extra
)
del self.runtime.failed_checks[vm_id]

0 comments on commit f602bb8

Please sign in to comment.