Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#124) Fix Go fmt #125

Merged
merged 3 commits into from Dec 30, 2019
Merged

(#124) Fix Go fmt #125

merged 3 commits into from Dec 30, 2019

Conversation

mdelapenya
Copy link
Collaborator

@mdelapenya mdelapenya commented Dec 26, 2019

What does this PR do?

It fixes the format of one file, discovered while running Travis commands locally,
but it's possible to find the errors there too:
https://travis-ci.org/testcontainers/testcontainers-go/builds/629696018#L370-L371

At the same time, it adds a shell script that raises the error level after a failure in the go fmt command. Please check this thread for more info about this issue: golang/go#24230

Why is it important?

It fixes the CI build, which is currently not failing, but IMHO it should. Besides that it will cause the build to fail if a P is sent without the proper Go format being applied.

Related issues

Closes #124

@mdelapenya mdelapenya changed the title (#124) Run Go fmt (#124) Fix Go fmt Dec 26, 2019
@mdelapenya
Copy link
Collaborator Author

Last commit is a cherry pick from #97

@gianarb gianarb merged commit f4135ba into testcontainers:master Dec 30, 2019
@gianarb
Copy link
Collaborator

gianarb commented Dec 30, 2019

Thanks a lot!

@mdelapenya mdelapenya deleted the 124-sf branch December 30, 2019 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go fmt is not failing Travis build
3 participants