From 3618933bffca2d361af59dfdc2e18b88c5b258d6 Mon Sep 17 00:00:00 2001 From: minjcho <131win1@gmail.com> Date: Thu, 29 Jan 2026 01:15:49 +0900 Subject: [PATCH] Fix typo in createcluster.py and emrfsutils.py --- awscli/customizations/emr/createcluster.py | 2 +- awscli/customizations/emr/emrfsutils.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/awscli/customizations/emr/createcluster.py b/awscli/customizations/emr/createcluster.py index c970d581f771..1ef851ecc554 100644 --- a/awscli/customizations/emr/createcluster.py +++ b/awscli/customizations/emr/createcluster.py @@ -844,7 +844,7 @@ def _filter_configurations_in_special_cases( def _handle_emrfs_parameters(self, cluster, emrfs_args, release_label): if release_label: self.validate_no_emrfs_configuration(cluster) - emrfs_configuration = emrfsutils.build_emrfs_confiuration( + emrfs_configuration = emrfsutils.build_emrfs_configuration( emrfs_args ) diff --git a/awscli/customizations/emr/emrfsutils.py b/awscli/customizations/emr/emrfsutils.py index e3f58e78fdcd..e3c64e2cc0b6 100644 --- a/awscli/customizations/emr/emrfsutils.py +++ b/awscli/customizations/emr/emrfsutils.py @@ -62,7 +62,7 @@ def build_bootstrap_action_configs(region, emrfs_args): return bootstrap_actions -def build_emrfs_confiuration(emrfs_args): +def build_emrfs_configuration(emrfs_args): _verify_emrfs_args(emrfs_args) emrfs_properties = _build_emrfs_properties(emrfs_args) @@ -79,6 +79,10 @@ def build_emrfs_confiuration(emrfs_args): return emrfs_configuration +# Backwards compatibility alias for the typo in the original function name +build_emrfs_confiuration = build_emrfs_configuration + + def _verify_emrfs_args(emrfs_args): # Encryption should have a valid value if (