Method: VMC::V2CheckCLI#fail_on_v2
- Defined in:
- lib/vmc/cli/v2_check_cli.rb
#fail_on_v2 ⇒ Object
9 10 11 12 13 |
# File 'lib/vmc/cli/v2_check_cli.rb', line 9 def fail_on_v2 if v2? fail "You are targeting a version 2 instance of Cloud Foundry: you must use the 'cf' command line client (which you can get with 'gem install cf')." end end |