pulumi / pulumi-kubernetesx

Kubernetes for Everyone
Apache License 2.0
135 stars 16 forks source link

Set portsArg as ports if it's not a PortMap #45

Closed torbjornvatn closed 4 years ago

torbjornvatn commented 4 years ago

Fixes #44 ... I hope

The current version attempts to concatenate the portsArg array with the empty ports array but misses to reassign the the new array to ports. I just replaced the concat() with a simple assignment since the ports array will always be empty in this case.