Skip to content

Commit b52d82f

Browse files
committed
fix: set spot options correctly
1 parent a41d43e commit b52d82f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62836,7 +62836,9 @@ function buildMarketOptions() {
6283662836
if (config.input.marketType === 'spot') {
6283762837
return {
6283862838
MarketType: config.input.marketType,
62839-
SpotInstanceType: 'one-time',
62839+
SpotOptions: {
62840+
SpotInstanceType: 'one-time',
62841+
},
6284062842
};
6284162843
}
6284262844

src/aws.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ function buildMarketOptions() {
3636
if (config.input.marketType === 'spot') {
3737
return {
3838
MarketType: config.input.marketType,
39-
SpotInstanceType: 'one-time',
39+
SpotOptions: {
40+
SpotInstanceType: 'one-time',
41+
},
4042
};
4143
}
4244

0 commit comments

Comments
 (0)