Skip to content

Commit

Permalink
Correct quotes in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed May 8, 2024
1 parent e5c8f9b commit b56922b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nise/generators/aws/ec2_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", [])

Expand Down

0 comments on commit b56922b

Please sign in to comment.