Skip to content

cannot unmarshal servicePort from variable #42

Description

@kamsz

Hi,

I've set my portMappings as below:

          portMappings:
            - containerPort: 80
              servicePort: ${SERVICE_PORT}
              protocol: tcp

But I'm unable to create an application with servicePort as a variable due to:

2017-02-27 08:43:01 ERROR [depcon]: error unmarshaling JSON: json: cannot unmarshal string into Go value of type int

Is there any way to convert this value to an integer?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions