Skip to content

Commit

Permalink
Merge pull request #51 from totem/develop
Browse files Browse the repository at this point in the history
0.4.6 Release
  • Loading branch information
sukrit007 committed Mar 8, 2016
2 parents 1145382 + 944e320 commit 878c279
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deployer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from celery.signals import setup_logging


__version__ = '0.4.5'
__version__ = '0.4.6'
__author__ = 'sukrit'

deployer.logger.init_logging()
Expand Down
4 changes: 2 additions & 2 deletions deployer/tasks/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def _check_discover(self, app_name, app_version, check_port, min_nodes,
:return: discovered nodes
:rtype: dict
"""
if check_port is None:
# Skip discover if port is not passed
if not check_port:
# Skip discover if port is empty, 0 , None
return {}

discovered_nodes = get_discovered_nodes(app_name, app_version, check_port,
Expand Down
4 changes: 2 additions & 2 deletions schemas/app-version-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
},
"port": {
"type": "number",
"description": "Application internal Port to be used for discover check",
"minimum": 1
"description": "Application internal Port to be used for discover check (Use 0 to disable discover check)",
"minimum": 0
},
"path": {
"type": "string",
Expand Down

0 comments on commit 878c279

Please sign in to comment.