Module: Jets::CLI::Lambda::Checks
- Extended by:
- Memoist
- Included in:
- Concurrency::Base, Env::Base, Maintenance::Base
- Defined in:
- lib/jets/cli/lambda/checks.rb
Instance Method Summary collapse
Instance Method Details
#check_deployed! ⇒ Object
5 6 7 8 9 |
# File 'lib/jets/cli/lambda/checks.rb', line 5 def check_deployed! return if stack_exists?(Jets.project.namespace) warn "ERROR: Project has not been deployed".color(:red) exit 1 end |
#check_workers! ⇒ Object
11 12 13 14 15 |
# File 'lib/jets/cli/lambda/checks.rb', line 11 def check_workers! return if workers_deployed? warn "No worker functions deployed" exit 1 end |