Closed dcarley closed 7 years ago
Travis build failed because it uses go get
to fetch the latest version of Terraform which I think now require Go 1.8 to build.
Is there a reason that Terraform isn't vendored like the other dependencies?
Hello, thank you. I thought intellij was performing go fmt, obviously no. That's a good idea.
I have fixed the travis build. This is needed to support multiple versions of terraform, actually terraform change provider implementation on their RPC server side. Not vendoring let the ability to switch version of terraform to build the provider with different version of their RPC implementation.
You can have a look inside the .travis.yml
file to see what it is doing to switch version.
Thanks :+1:
Run
go fmt ./...
over all filesSo that they adhere to Go's canonical style:
A lot of people, myself included, configure their editors to do this automatically, which makes it harder to work on repositories where it's not done.
Run
go fmt
in TravisTo detect any regressions from Go's canonical style as applied in the preceding commit.