diff --git a/.travis.yml b/.travis.yml index c00c2cff5..cf8005d7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,7 +57,7 @@ script: - script/validate/vendor - go build -i . - make check - - if [ "$GOOS" = "linux" ]; then make check-protos check-api-descriptors; fi + - if [[ "$GOOS" = "linux" && "$TRAVIS_GO_VERSION" != "1.9"* ]]; then make check-protos check-api-descriptors; fi - make build - make binaries - if [ "$GOOS" = "linux" ]; then sudo make install ; fi diff --git a/api/events/container.pb.go b/api/events/container.pb.go index b05a402bb..5b715fc1e 100644 --- a/api/events/container.pb.go +++ b/api/events/container.pb.go @@ -158,9 +158,7 @@ func (m *ContainerCreate_Runtime) Field(fieldpath []string) (string, bool) { return "", false } - adaptor, ok := decoded.(interface { - Field([]string) (string, bool) - }) + adaptor, ok := decoded.(interface{ Field([]string) (string, bool) }) if !ok { return "", false } diff --git a/api/services/events/v1/events.pb.go b/api/services/events/v1/events.pb.go index e2ad455a4..52cca0acd 100644 --- a/api/services/events/v1/events.pb.go +++ b/api/services/events/v1/events.pb.go @@ -115,9 +115,7 @@ func (m *Envelope) Field(fieldpath []string) (string, bool) { return "", false } - adaptor, ok := decoded.(interface { - Field([]string) (string, bool) - }) + adaptor, ok := decoded.(interface{ Field([]string) (string, bool) }) if !ok { return "", false }