vmc-ng/lib/vmc/cli.rb in vmc-0.4.0.beta.16 vs vmc-ng/lib/vmc/cli.rb in vmc-0.4.0.beta.17

- old
+ new

@@ -224,9 +224,13 @@ ts = target_info ts.delete client_target save_targets(ts) end + def no_v2 + fail "Not implemented for v2." if v2? + end + def v2? client.is_a?(CFoundry::V2::Client) end def client