Browse Source

Don't try scaling static deployments (#543)

* Don't try scaling static deployments

* Use `error` instead of `console.log`
master
Jarmo Isotalo 8 years ago
committed by Matheus Fernandes
parent
commit
f66032b1b6
  1. 4
      bin/now-scale.js

4
bin/now-scale.js

@ -166,6 +166,10 @@ async function run({ token, config: { currentTeam } }) {
error(`Could not find any deployments matching ${id}`)
return process.exit(1)
}
if (match.type === 'STATIC') {
error(`Could not scale static deployment: ${id}`)
return process.exit(1)
}
const { min, max } = guessParams()

Loading…
Cancel
Save