Skip to content

Commit

Permalink
feat(bookkeeping): fixing test failure & unindented comment in file
Browse files Browse the repository at this point in the history
  • Loading branch information
deepankarm committed Sep 11, 2020
1 parent c9f4fc4 commit 1a564e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jina/docker/hubio.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def push(self, name: str = None, readme_path: str = None):
""" A wrapper of docker push """
is_build_success, is_push_success = True, False
try:
# self._push(name, readme_path)
self._push(name, readme_path)
is_push_success = True
except Exception:
self.logger.error(f'can not push to the registry')
Expand Down Expand Up @@ -295,8 +295,8 @@ def build(self) -> Dict:
self._write_summary_to_db(summary=result)
elif result['is_build_success']:
self._write_summary_to_file(summary=result)
else:
return result

return result

def dry_run(self) -> Dict:
try:
Expand Down

0 comments on commit 1a564e1

Please sign in to comment.