Skip to content

Commit

Permalink
Merge branch 'hotfix/v0.4.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-napoleone committed Dec 5, 2018
2 parents f05e70e + 3c7bc82 commit 8e42a74
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tmn"
version = "0.4.2"
version = "0.4.3"
description = "Quickstart your masternode"
readme = "README.md"
license = "GPL-3.0+"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _clean(tmn):


def test_version(runner, tmn):
version = '0.4.2'
version = '0.4.3'
result = runner.invoke(tmn.main, ['--version'])
assert result.output[-6:-1] == version
assert package.__version__ == version
Expand Down
2 changes: 1 addition & 1 deletion tmn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

__version__ = '0.4.2'
__version__ = '0.4.3'

handler = logging.StreamHandler()
handler.setFormatter(logging.Formatter('[%(levelname)s] %(message)s'))
Expand Down
2 changes: 1 addition & 1 deletion tmn/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _compose(self) -> None:
tag = 'latest'
if self.api == 'True': # this is dirty, should be refactored
tomochain_ports = {'30303/udp': 30303, '30303/tcp': 30303,
8545: 8545, 8546: 8546}
'8545/tcp': 8545, '8546/tcp': 8546}
else:
tomochain_ports = {'30303/udp': 30303, '30303/tcp': 30303}
self.services['metrics'] = Service(
Expand Down
1 change: 1 addition & 0 deletions tmn/elements/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def create(self) -> bool:
network=self.network,
environment=self.environment,
volumes=self.volumes,
ports=self.ports,
log_config={'type': self.log_driver,
'config': self.log_opts},
detach=True
Expand Down

0 comments on commit 8e42a74

Please sign in to comment.