Skip to content

Commit 3618933

Browse files
committed
Fix typo in createcluster.py and emrfsutils.py
1 parent d4d9ec0 commit 3618933

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

awscli/customizations/emr/createcluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def _filter_configurations_in_special_cases(
844844
def _handle_emrfs_parameters(self, cluster, emrfs_args, release_label):
845845
if release_label:
846846
self.validate_no_emrfs_configuration(cluster)
847-
emrfs_configuration = emrfsutils.build_emrfs_confiuration(
847+
emrfs_configuration = emrfsutils.build_emrfs_configuration(
848848
emrfs_args
849849
)
850850

awscli/customizations/emr/emrfsutils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def build_bootstrap_action_configs(region, emrfs_args):
6262
return bootstrap_actions
6363

6464

65-
def build_emrfs_confiuration(emrfs_args):
65+
def build_emrfs_configuration(emrfs_args):
6666
_verify_emrfs_args(emrfs_args)
6767
emrfs_properties = _build_emrfs_properties(emrfs_args)
6868

@@ -79,6 +79,10 @@ def build_emrfs_confiuration(emrfs_args):
7979
return emrfs_configuration
8080

8181

82+
# Backwards compatibility alias for the typo in the original function name
83+
build_emrfs_confiuration = build_emrfs_configuration
84+
85+
8286
def _verify_emrfs_args(emrfs_args):
8387
# Encryption should have a valid value
8488
if (

0 commit comments

Comments
 (0)