From 3bec74e40b34f8e68849e421d9f8443734c5cf08 Mon Sep 17 00:00:00 2001 From: Tom Warnock Date: Tue, 19 May 2020 11:34:51 -0400 Subject: [PATCH] fix case issue for instance type --- Makefile | 2 +- cloudendure/__version__.py | 2 +- cloudendure/cloudendure.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8a2947cce..6bd99acac 100644 --- a/Makefile +++ b/Makefile @@ -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" diff --git a/cloudendure/__version__.py b/cloudendure/__version__.py index 493f7415d..260c070a8 100644 --- a/cloudendure/__version__.py +++ b/cloudendure/__version__.py @@ -1 +1 @@ -__version__ = "0.3.0" +__version__ = "0.3.1" diff --git a/cloudendure/cloudendure.py b/cloudendure/cloudendure.py index feeffd3e5..e1bd315f1 100644 --- a/cloudendure/cloudendure.py +++ b/cloudendure/cloudendure.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 56eae9e6a..8fb7886b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ", "Tom Warnock "] maintainers = ["Evan Lucchesi ", "Nick Selpa "]