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

Jack Cai

Hi Ronak,

Thanks for answering it. The public API needs a CF user credential. It's
much easier for the app/buildpack to get such info from an env variable.

My scenario is that during our transition to DIEGO, we will have DEA and
DIEGO side by side for a while, and one of our runtime agent may need to
behave a little differently among these two environment, so that it can
leverage new features in DIEGO (like SSH).


On Mon, Feb 1, 2016 at 10:49 AM, ronak banka <ronakbanka.cse(a)>

Hi Jack,

Any specific use case where your application should be aware of the runner

If you just want to check for a particular application from command line ,
you can use
cf curl /v2/apps/$(cf app APPLICATION_NAME --guid) | grep diego


On Tue, Feb 2, 2016 at 12:25 AM, Jack Cai <greensight(a)> wrote:


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.



Join to automatically receive all group messages.