From d13eccb7bc047faa393c07041679cfc477084692 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Wed, 25 Apr 2018 12:48:05 -0400 Subject: [PATCH] [aws] fix excepted/expected misspelling --- lib/ansible/modules/cloud/amazon/s3_bucket.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/s3_bucket.py b/lib/ansible/modules/cloud/amazon/s3_bucket.py index 0f28a526ffa..14869487108 100644 --- a/lib/ansible/modules/cloud/amazon/s3_bucket.py +++ b/lib/ansible/modules/cloud/amazon/s3_bucket.py @@ -353,7 +353,7 @@ def wait_policy_is_applied(module, s3_client, bucket_name, expected_policy, shou else: return current_policy if should_fail: - module.fail_json(msg="Bucket policy failed to apply in the excepted time") + module.fail_json(msg="Bucket policy failed to apply in the expected time") else: return None @@ -369,7 +369,7 @@ def wait_payer_is_applied(module, s3_client, bucket_name, expected_payer, should else: return requester_pays_status if should_fail: - module.fail_json(msg="Bucket request payment failed to apply in the excepted time") + module.fail_json(msg="Bucket request payment failed to apply in the expected time") else: return None @@ -384,7 +384,7 @@ def wait_versioning_is_applied(module, s3_client, bucket_name, required_versioni time.sleep(5) else: return versioning_status - module.fail_json(msg="Bucket versioning failed to apply in the excepted time") + module.fail_json(msg="Bucket versioning failed to apply in the expected time") def wait_tags_are_applied(module, s3_client, bucket_name, expected_tags_dict): @@ -397,7 +397,7 @@ def wait_tags_are_applied(module, s3_client, bucket_name, expected_tags_dict): time.sleep(5) else: return - module.fail_json(msg="Bucket tags failed to apply in the excepted time") + module.fail_json(msg="Bucket tags failed to apply in the expected time") def get_current_bucket_tags_dict(s3_client, bucket_name):