Skip to content

Use a string NodeImage name in the custom AMI example - #2190

Open
Sanjays2402 wants to merge 1 commit into
apache:trunkfrom
Sanjays2402:docs/ec2-custom-ami-image-name
Open

Sanjays2402 wants to merge 1 commit into
apache:trunkfrom
Sanjays2402:docs/ec2-custom-ami-image-name

Conversation

@Sanjays2402

Copy link
Copy Markdown
Contributor

Description

Fixes #2075.

The custom EC2 AMI example passes name=None to NodeImage, whose documented type is str. Use "Netflix Asgard", matching the image described in the example. The AMI ID and driver configuration are unchanged.

Validation: executed the complete example with a mock driver and verified the real NodeImage passed to create_node has the expected string name, AMI ID, and driver. Black and git diff --check passed. Prepared with Codex.

Status

done, ready for review

Checklist

  • Code linting
  • Documentation
  • Tests (example exercised with a mock driver)
  • ICLA (documentation-only change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is name=None correct for NodeImage constructor?

1 participant