From f55f90098526abbb99b949fc5cc631d8bfdf490e Mon Sep 17 00:00:00 2001 From: Lucas Bacciotti Date: Fri, 3 May 2024 14:18:13 +0100 Subject: [PATCH] Fix Typo. --- nise/generators/aws/ec2_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nise/generators/aws/ec2_generator.py b/nise/generators/aws/ec2_generator.py index 51bf0fe9..79a43754 100644 --- a/nise/generators/aws/ec2_generator.py +++ b/nise/generators/aws/ec2_generator.py @@ -78,7 +78,7 @@ class EC2Generator(AWSGenerator): ARCHS = ("32-bit", "64-bit") - OPERATING_SYSTEM = ( + OPERATING_SYSTEMS = ( "Amazon Linux", "Ubuntu", "Windows Server", @@ -101,7 +101,7 @@ def __init__(self, start_date, end_date, currency, payer_account, usage_accounts self._resource_id = "i-{}".format(self.fake.ean8()) self._product_sku = self.fake.pystr(min_chars=12, max_chars=12).upper() self._instance_type = choice(self.INSTANCE_TYPES) - self._operating_system = choice(self.OPERATING_SYSTEM) + self._operating_system = choice(self.OPERATING_SYSTEMS) if self.attributes: if self.attributes.get("processor_arch"): self._processor_arch = self.attributes.get("processor_arch")