Skip to content

Commit

Permalink
Merge pull request #126 from 2ndWatch/fix/not_synced
Browse files Browse the repository at this point in the history
Version bump to 0.3.5
  • Loading branch information
twarnock authored Jun 5, 2020
2 parents 66ef84e + 1a5d6d0 commit f81d1be
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SHA1 := $$(git log -1 --pretty=%h)
CURRENT_BRANCH := $$(git symbolic-ref -q --short HEAD)
LATEST_TAG := ${REPO_NAME}:latest
GIT_TAG := ${REPO_NAME}:${SHA1}
VERSION := v0.3.4
VERSION := v0.3.5

info: ## Show information about the current git state.
@echo "Github Project: https://github.com/${REPO_NAME}\nCurrent Branch: ${CURRENT_BRANCH}\nSHA1: ${SHA1}\n"
Expand Down
2 changes: 1 addition & 1 deletion cloudendure/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.4"
__version__ = "0.3.5"
6 changes: 5 additions & 1 deletion cloudendure/cloudendure.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,11 @@ def _inspector(self, **kwargs):
)

def _not_synced(self, machine) -> bool:
if machine["backlogged_storage_bytes"] > 0 or machine["rescanned_storage_bytes"] > 0:
if (
machine["backlogged_storage_bytes"] > 0
or machine["rescanned_storage_bytes"] > 0
or machine["replicated_storage_bytes"] != machine["total_storage_bytes"]
):
return True
else:
return False
Expand Down
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 = "cloudendure"
version = "0.3.4"
version = "0.3.5"
description = "Python wrapper and CLI for CloudEndure"
authors = ["Mark Beacom <mark@markbeacom.com>", "Tom Warnock <twarnock@2ndwatch.com>"]
maintainers = ["Evan Lucchesi <evan@2ndwatch.com>", "Nick Selpa <nselpa@2ndwatch.com>"]
Expand Down

0 comments on commit f81d1be

Please sign in to comment.