Re: How does an application know it's running in DIEGO?


Kris Hicks <khicks@...>
 

You can use the CF CLI with the Diego-Enabler plugin to query whether an
application is running on Diego or not:
https://github.com/cloudfoundry-incubator/Diego-Enabler

e.g. `cf has-diego-enabled App_Name`

On Mon, Feb 1, 2016 at 7:25 AM, Jack Cai <greensight(a)gmail.com> wrote:

Hi,

Is there a way for the application to know whether it's running in DEA or
DIEGO? Looking at [1], there is no environment variable that can tell this.

Jack

[1]
https://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.