Skip to content

Commit

Permalink
Fix typo so we use subnet_id when provided, otherwise use config (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainv committed Jan 4, 2021
1 parent 552f3f1 commit 5fba605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_cloudprovider/aws/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def __init__(
self.gpu_instance = self.instance_type.startswith(("p", "g"))
self.vpc = vpc if vpc is not None else self.config.get("vpc")
self.subnet_id = (
subnet_id if subnet_id is None else self.config.get("subnet_id")
subnet_id if subnet_id is not None else self.config.get("subnet_id")
)
self.security_groups = (
security_groups
Expand Down

0 comments on commit 5fba605

Please sign in to comment.