Skip to content

Commit

Permalink
Merge pull request #120 from 2ndWatch/fix/case
Browse files Browse the repository at this point in the history
Fix case issue for instance type
  • Loading branch information
selpan authored May 19, 2020
2 parents 8ca7a03 + 3bec74e commit 4d561a9
Show file tree
Hide file tree
Showing 4 changed files with 4 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.0
VERSION := v0.3.1

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.0"
__version__ = "0.3.1"
2 changes: 1 addition & 1 deletion cloudendure/cloudendure.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def update_blueprint(self) -> bool:
if self.iam_role:
blueprint["iamRole"] = self.iam_role

instance_type = self.target_instances.get(_machine_name, "")
instance_type = self.target_instances.get(_machine_name.upper(), "")
if instance_type:
blueprint["instanceType"] = instance_type

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.0"
version = "0.3.1"
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 4d561a9

Please sign in to comment.