Class: Serverkit::Actions::Check
- Defined in:
- lib/serverkit/actions/check.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#run ⇒ Object
Check if all backends have ideal states, then exit with exit-code 0 or 1.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Serverkit::Actions::Base
Instance Method Details
#run ⇒ Object
Check if all backends have ideal states, then exit with exit-code 0 or 1
8 9 10 11 12 13 14 |
# File 'lib/serverkit/actions/check.rb', line 8 def run if check_resources exit else exit(1) end end |