@@ -270,17 +270,17 @@ export const addCommandDeploy = (program: Command) => {
270270 . addOption (
271271 new Option (
272272 '--min-storage <size>' ,
273- 'Minimum total storage capacity (e.g. 64GB)'
273+ 'Minimum available storage capacity (e.g. 64GB)'
274274 )
275275 )
276276 . addOption (
277277 new Option (
278- '--min-io -score <n>' ,
279- 'Minimum storage I/O benchmark score'
278+ '--min-cpu-multi -score <n>' ,
279+ 'Minimum CPU multi-core benchmark score'
280280 ) . argParser ( ( v ) => {
281281 const n = Number . parseInt ( v , 10 )
282282 if ( Number . isNaN ( n ) || n < 0 ) {
283- throw new Error ( `Invalid --min-io -score: ${ v } ` )
283+ throw new Error ( `Invalid --min-cpu-multi -score: ${ v } ` )
284284 }
285285 return n
286286 } )
@@ -298,7 +298,7 @@ export const addCommandDeploy = (program: Command) => {
298298 minMemory ?: string
299299 minCpuScore ?: number
300300 minStorage ?: string
301- minIoScore ?: number
301+ minCpuMultiScore ?: number
302302 }
303303 ) => {
304304 const log = consoleOutput ( options . output )
@@ -346,22 +346,22 @@ export const addCommandDeploy = (program: Command) => {
346346 try {
347347 const bf = { ...config . benchmarkFilters }
348348 if ( options . minMemory !== undefined ) {
349- bf . minMemoryBytes = Number ( parseByteSize ( options . minMemory ) )
349+ bf . minRamTotalBytes = Number ( parseByteSize ( options . minMemory ) )
350350 }
351351 if ( options . minCpuScore !== undefined ) {
352352 bf . minCpuSingleCoreScore = options . minCpuScore
353353 }
354354 if ( options . minStorage !== undefined ) {
355- bf . minStorageBytes = Number ( parseByteSize ( options . minStorage ) )
355+ bf . minStorageAvailBytes = Number ( parseByteSize ( options . minStorage ) )
356356 }
357- if ( options . minIoScore !== undefined ) {
358- bf . minStorageIoScore = options . minIoScore
357+ if ( options . minCpuMultiScore !== undefined ) {
358+ bf . minCpuMultiCoreScore = options . minCpuMultiScore
359359 }
360360 if (
361361 options . minMemory !== undefined ||
362362 options . minCpuScore !== undefined ||
363363 options . minStorage !== undefined ||
364- options . minIoScore !== undefined
364+ options . minCpuMultiScore !== undefined
365365 ) {
366366 config . benchmarkFilters = bf
367367 }
0 commit comments