From f37ae1a2277b22dd8b08a9e04217a7aef14c8579 Mon Sep 17 00:00:00 2001 From: andife Date: Tue, 28 Dec 2021 09:25:09 +0100 Subject: [PATCH] Update create_bucket.py --- create_bucket.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/create_bucket.py b/create_bucket.py index b3486e7..1ceb533 100644 --- a/create_bucket.py +++ b/create_bucket.py @@ -9,20 +9,20 @@ minioUrl = os.environ.get('MLFLOW_S3_ENDPOINT_URL') bucketName = os.environ.get('AWS_BUCKET_NAME') if accessID == None: - print('[!] AWS_ACCESS_KEY_ID environemnt variable is empty! run \'source .env\' to load it from the .env file') + print('[!] AWS_ACCESS_KEY_ID environment variable is empty! run \'source .env\' to load it from the .env file') exit(1) if accessSecret == None: - print('[!] AWS_SECRET_ACCESS_KEY environemnt variable is empty! run \'source .env\' to load it from the .env file') + print('[!] AWS_SECRET_ACCESS_KEY environment variable is empty! run \'source .env\' to load it from the .env file') exit(1) if minioUrl == None: - print('[!] MLFLOW_S3_ENDPOINT_URL environemnt variable is empty! run \'source .env\' to load it from the .env file') + print('[!] MLFLOW_S3_ENDPOINT_URL environment variable is empty! run \'source .env\' to load it from the .env file') exit(1) if bucketName == None: - print('[!] AWS_BUCKET_NAME environemnt variable is empty! run \'source .env\' to load it from the .env file') + print('[!] AWS_BUCKET_NAME environment variable is empty! run \'source .env\' to load it from the .env file') exit(1) minioUrlHostWithPort = minioUrl.split('//')[1]