From b56922bc9b4f48776da9b98b7a25d0a03da2a15a Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Tue, 7 May 2024 21:14:57 -0400 Subject: [PATCH] Correct quotes in format string --- nise/generators/aws/ec2_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nise/generators/aws/ec2_generator.py b/nise/generators/aws/ec2_generator.py index 804afd58..a1a81927 100644 --- a/nise/generators/aws/ec2_generator.py +++ b/nise/generators/aws/ec2_generator.py @@ -103,7 +103,7 @@ def __init__(self, start_date, end_date, currency, payer_account, usage_accounts self._instance_type = choice(self.INSTANCE_TYPES) self._operating_system = choice(self.OPERATING_SYSTEMS) self._processor_arch = self.attributes.get("processor_arch", choice(self.ARCHS)) - self._resource_id = f"i-{self.attributes.get("resource_id", self.fake.ean8())}" + self._resource_id = f"i-{self.attributes.get('resource_id', self.fake.ean8())}" self._product_sku = self.attributes.get("product_sku", self.fake.pystr(min_chars=12, max_chars=12).upper()) self._tags = self.attributes.get("tags", [])