Closed xchapter7x closed 8 years ago
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/109642726.
temporary workaround is to just use plugin.cliConnection.GetApps
instead of plugin.cliConnection.GetApp
(singular, no 's' is where the issue is).
then just filter the results on the appname needed. GetApps() results do actually contain host and domain for the apps.
I believe this is the same bug, which I've just updated with triage info: https://github.com/cloudfoundry/cli/issues/699#issuecomment-163440624
@xchapter7x This should be fixed now, please try with our Edge binary/latest code.
tested on HEAD master. works for me. Thanks :)
when calling cliConnection.GetApp from a plugin I am not given any valid domains in my plugin_models.GetAppModel response. However, When calling the cloud controller api directly my app response object does contain the proper domains array.
cloud controller app summary:
cloud controller spaces api request:
appmodel from cliConnection.GetApp() call within plugin: