cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

Switch `bosh instances` to the /instances endpoint #101

Closed Kiemes closed 7 years ago

Kiemes commented 7 years ago

The instances command of the go cli does now call /instances instead of /vms. If the director does not support /instances (< v256) we fall back to /vms.

Additionally we renamed State to Process State and added a State column to the instances output which reflect the instance state. All according to @cppforlife feedback in https://www.pivotaltracker.com/story/show/114101171

cfdreddbot commented 7 years ago

Hey Kiemes!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

Kiemes commented 7 years ago

@cppforlife Thx for your feedback. We incorporated it. While doing this, we saw that VMInfo.Timestamp was never used and also not set correctly, so we removed it.