Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Don't use spot_price for on-demand instances. (#30)
Browse files Browse the repository at this point in the history
Testing Done:

- Unit tests pass.

Closes #28.
  • Loading branch information
shrinandj committed Mar 27, 2019
1 parent fc27397 commit c52a6fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cloud_provider/aws/aws_minion_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ def create_lc_on_demand(self, new_lc_name, launch_config):
InstanceType=launch_config.InstanceType,
BlockDeviceMappings=launch_config.BlockDeviceMappings,
InstanceMonitoring=launch_config.InstanceMonitoring,
SpotPrice=spot_price,
IamInstanceProfile=launch_config.IamInstanceProfile,
EbsOptimized=launch_config.EbsOptimized,
AssociatePublicIpAddress=launch_config.
Expand All @@ -284,7 +283,6 @@ def create_lc_on_demand(self, new_lc_name, launch_config):
InstanceType=launch_config.InstanceType,
BlockDeviceMappings=launch_config.BlockDeviceMappings,
InstanceMonitoring=launch_config.InstanceMonitoring,
SpotPrice=spot_price,
IamInstanceProfile=launch_config.IamInstanceProfile,
EbsOptimized=launch_config.EbsOptimized)
assert response is not None, \
Expand Down

0 comments on commit c52a6fa

Please sign in to comment.