Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add APP_ID env. #2067

Merged
merged 4 commits into from
Mar 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change APP_ID.
JaredTan95 committed Mar 22, 2019
commit bf6af896e308812aad49a32f9dffded420202603
Original file line number Diff line number Diff line change
@@ -87,10 +87,10 @@ private void initAppId() {
}

//2. Try to get app id from OS environment variable
m_appId = System.getenv("APOLLO_APP_ID");
m_appId = System.getenv("APP_ID");
if (!Utils.isBlank(m_appId)) {
m_appId = m_appId.trim();
logger.info("App ID is set to {} by APOLLO_APP_ID env from OS environment variable", m_appId);
logger.info("App ID is set to {} by APP_ID env from OS environment variable", m_appId);
return;
}