cloud-gov / cf-service-proxy

Create a proxy for Cloud Foundry service instances.
Other
1 stars 6 forks source link

update cf object key from .guid to .GUID #15

Closed kynetiv closed 8 years ago

kynetiv commented 8 years ago

Pairing with @harrisj & @yozlet, we noticed that my user's ~/.cf/config.json had a different object key for the space GUID. This PR updates a few spots that are currently using the old lowercase key (.guid).

This could be due to an update with the cf command line utils but not sure, I'm currently using: cf version 6.18.1+a1103f0-2016-05-24

Also wanted to note that a future enhancement would be to no longer look in the user's ~/.cf/config.json as the space's GUID is also set in

cf env <app_name>

under VCAP_APPLICATION.space_id

afeld commented 8 years ago

Confirmed that it's all caps for me too.

$ cf --version
cf version 6.19.0+b29b4e0-2016-06-08