Skip to content

Cartridge.port is broken for DIY cartridges. #1

@bjansen

Description

@bjansen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions