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
7 8 9 10 11 12 13 |
# File 'lib/serverkit/actions/check.rb', line 7 def run if check_resources exit else exit(1) end end |