josmo / drone-ecs

Drone plugin for triggering Amazon EC2 Container Service (ECS) deployments
Apache License 2.0
30 stars 41 forks source link

Adding a local variable to avoid wrong value due pointer address #50

Closed dminella closed 4 years ago

dminella commented 4 years ago

Due a pointer wrong reference, when I try to pass more than one command, this happens:

image

Fixing with that article in mind: https://medium.com/codezillas/uh-ohs-in-go-slice-of-pointers-c0a30669feee

josmo commented 4 years ago

Thanks a bunch! @dminella let me know if the "latest" published image works for you on this and I'll tag it!