Skip to content

Commit 06591d3

Browse files
author
Zhou Hao
committed
travis: add go 1.10
Signed-off-by: Zhou Hao <[email protected]>
1 parent 80195d8 commit 06591d3

File tree

57 files changed

+6
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+6
-5
lines changed

Diff for: .travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ go:
33
- 1.7.x
44
- 1.8.x
55
- 1.9.x
6+
- 1.10.x
67

78
sudo: false
89

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BUILDTAGS=
66
RUNTIME ?= runc
77
COMMIT=$(shell git rev-parse HEAD 2> /dev/null || true)
88
VERSION := ${shell cat ./VERSION}
9-
VALIDATION_TESTS ?= $(patsubst %.go,%.t,$(wildcard validation/*.go))
9+
VALIDATION_TESTS ?= $(patsubst %.go,%.t,$(shell find ./validation/ -name *.go | grep -v util))
1010

1111
all: tool runtimetest validation-executables
1212

Diff for: api/socket/socket.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
package socket
22

3-
// Message is the normal data for messages passed on the console socket.
4-
type Message struct {
3+
// Common is the normal data for messages passed on the console socket.
4+
type Common struct {
55
// Type of message being passed
66
Type string `json:"type"`
77
}
88

99
// TerminalRequest is the normal data for messages passing a pseudoterminal master.
1010
type TerminalRequest struct {
11-
Message
11+
Common
1212

1313
// Container ID for the container whose pseudoterminal master is being set.
1414
Container string `json:"container"`
1515
}
1616

1717
// Response is the normal data for response messages.
1818
type Response struct {
19-
Message
19+
Common
2020

2121
// Message is a phrase describing the response.
2222
Message string `json:"message,omitempty"`
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)