cloudfoundry/vmc — pull request #62 by dsyer (2013-02-27 14:48:37+00:00)
Title: 'vmc target' checks the /info on the old target not the new one

$ vmc target api.vcap.me
$ vmc info
... shutdown vcap.me
$ vmc target api.cloudfoundry.com
CFoundry::TargetRefused: target refused connection (Connection refused - connect(2))
For more information, see ~/.vmc/crash

If you switch on --trace you can see that vmc sends a GET to /info on the *old* target as the first step in changing the target. Looks like a bug (and a newish one - it worked fine with 0.4.7).

I'm using 0.5.0.rc1.