From a2755e3574634d705ff435a33c8888e4b9f088c8 Mon Sep 17 00:00:00 2001 From: Jacob Freck Date: Fri, 6 Oct 2017 14:47:55 -0700 Subject: [PATCH] Bug: service url error message (#155) * fixed error message * fix typo --- aztk/clusterlib.py | 2 +- aztk/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aztk/clusterlib.py b/aztk/clusterlib.py index c7ecb8d8..525919f9 100644 --- a/aztk/clusterlib.py +++ b/aztk/clusterlib.py @@ -276,7 +276,7 @@ def create_cluster( ]) # Check for ssh key, if None, prompt for password - ssh_key, passowrd = self._get_ssh_key_or_prompt(username=username, ssh_key=ssh_key, password=password) + ssh_key, password = self._get_ssh_key_or_prompt(username=username, ssh_key=ssh_key, password=password) # Create the pool + create user for the pool util.create_pool_if_not_exist(pool, self.batch_client) diff --git a/aztk/config.py b/aztk/config.py index 1420243d..af4825fd 100644 --- a/aztk/config.py +++ b/aztk/config.py @@ -90,7 +90,7 @@ def _merge_dict(self, secrets_config): self.batch_service_url = secrets_config['batch']['batchserviceurl'] except KeyError: raise error.AztkError( - "Please specify a batch service in your .aztk/secrets.yaml file") + "Please specify a batch service url in your .aztk/secrets.yaml file") try: self.storage_account_name = secrets_config['storage']['storageaccountname']