We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code fails when run on a DIY cartridge:
"The port you should bind to" shared Integer port => requireInteger(environmentVariableName(name == "vertx" then "PORT" else "HTTP_PORT"));
The actual environment variable is not ending with HTTP_PORT:
OPENSHIFT_DIY_PORT=8080
The text was updated successfully, but these errors were encountered:
I'm not sure why it's ending with HTTP_PORT when it's a Ceylon cartridge, the official doc seems to indicate it's always PORT: https://developers.openshift.com/en/managing-environment-variables.html#informational-variables
HTTP_PORT
I guess we could invert the logic like this:
"The port you should bind to" shared Integer port => requireInteger(environmentVariableName(name == "ceylon" then "HTTP_PORT" else "PORT"));
Sorry, something went wrong.
I'm fine with inverting the check. We could also try both...
No branches or pull requests
The following code fails when run on a DIY cartridge:
The actual environment variable is not ending with HTTP_PORT:
The text was updated successfully, but these errors were encountered: