lib/vmc/cli/start/target.rb in vmc-0.5.0.rc2 vs lib/vmc/cli/start/target.rb in vmc-0.5.0.rc3

- old
+ new

@@ -20,10 +20,10 @@ end if input.has?(:url) target = sane_target_url(input[:url]) with_progress("Setting target to #{c(target, :name)}") do - client(target).info # check that it's valid before setting + CFoundry::Client.new(target) # check that it's valid before setting set_target(target) end end return unless v2? && client.logged_in?