Skip to content

Commit

Permalink
Fix healthcheck attr (#294)
Browse files Browse the repository at this point in the history
* add option to skip startup notifications (#259)

* add option to skip startup notifications

* fix flake8

* fix flake8

* Revert "add option to skip startup notifications (#259)" (#260)

This reverts commit 99d459d.

* add healthcheck attribute
  • Loading branch information
circa10a authored Apr 25, 2019
1 parent 55da85e commit 7e36c48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyouroboros/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def set_properties(old, new, self_name=None):
'host_config': old.attrs['HostConfig'],
'labels': old.attrs['Config']['Labels'],
'entrypoint': old.attrs['Config']['Entrypoint'],
'environment': old.attrs['Config']['Env']
'environment': old.attrs['Config']['Env'],
'healthcheck': old.attrs['Config'].get('Healthcheck', None)
}

return properties
Expand Down

0 comments on commit 7e36c48

Please sign in to comment.