Even though there is a darwin golang package, when packaging the bosh-google-cpi it always uses the linux version.
This used to work, because the golang package would actually switch to using the correct version, but that functionality was removed due to problems with vendoring packages.
The job bin template has a similar problem, but correctly determines the platform and calls the correct cli depending on the platform.
We should probably do something similar in the packaging script.
Even though there is a darwin golang package, when packaging the bosh-google-cpi it always uses the linux version.
This used to work, because the golang package would actually switch to using the correct version, but that functionality was removed due to problems with vendoring packages.
The job bin template has a similar problem, but correctly determines the platform and calls the correct cli depending on the platform.
We should probably do something similar in the packaging script.