Skip to content

Commit

Permalink
Merge pull request #1332 from justincormack/go-1.10
Browse files Browse the repository at this point in the history
Update to Go 1.10.1
  • Loading branch information
riyazdf authored Apr 9, 2018
2 parents c30d5e3 + 20a1f24 commit a57c5a7
Show file tree
Hide file tree
Showing 145 changed files with 31,400 additions and 6,147 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4
FROM golang:1.10.1

RUN apt-get update && apt-get install -y \
curl \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GOOSES = darwin linux windows
NOTARY_BUILDTAGS ?= pkcs11
NOTARYDIR := /go/src/github.com/theupdateframework/notary

GO_VERSION := $(shell go version | grep "1\.[7-9]\(\.[0-9]+\)*\|devel")
GO_VERSION := $(shell go version | grep "1\.\(7\|8\|9\|10\)\(\.[0-9]+\)*\|devel")
# check to make sure we have the right version. development versions of Go are
# not officially supported, but allowed for building

Expand Down
4 changes: 2 additions & 2 deletions client/changelist/change.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ func (c TUFChange) Content() []byte {
// unexpected race conditions between humans modifying the same delegation
type TUFDelegation struct {
NewName data.RoleName `json:"new_name,omitempty"`
NewThreshold int `json:"threshold, omitempty"`
AddKeys data.KeyList `json:"add_keys, omitempty"`
NewThreshold int `json:"threshold,omitempty"`
AddKeys data.KeyList `json:"add_keys,omitempty"`
RemoveKeys []string `json:"remove_keys,omitempty"`
AddPaths []string `json:"add_paths,omitempty"`
RemovePaths []string `json:"remove_paths,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion cross.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4
FROM golang:1.10.1

RUN apt-get update && apt-get install -y \
curl \
Expand Down
2 changes: 1 addition & 1 deletion escrow.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4-alpine
FROM golang:1.10.1-alpine

ENV NOTARYPKG github.com/theupdateframework/notary

Expand Down
2 changes: 1 addition & 1 deletion server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4-alpine
FROM golang:1.10.1-alpine

RUN apk add --update git gcc libc-dev

Expand Down
2 changes: 1 addition & 1 deletion server.minimal.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4-alpine AS build-env
FROM golang:1.10.1-alpine AS build-env
RUN apk add --update git gcc libc-dev
# Pin to the specific v3.0.0 version
RUN go get -tags 'mysql postgres file' github.com/mattes/migrate/cli && mv /go/bin/cli /go/bin/migrate
Expand Down
2 changes: 1 addition & 1 deletion server/storage/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (st *MemStorage) GetChanges(changeID string, records int, filterName string
} else {
id, err = strconv.ParseInt(changeID, 10, 32)
if err != nil {
return nil, ErrBadQuery{msg: fmt.Sprintf("change ID expected to be integer, provided ID was: %d", changeID)}
return nil, ErrBadQuery{msg: fmt.Sprintf("change ID expected to be integer, provided ID was: %s", changeID)}
}
}
var (
Expand Down
2 changes: 1 addition & 1 deletion server/storage/sqldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (db *SQLStorage) GetChanges(changeID string, records int, filterName string
} else {
id, err = strconv.ParseInt(changeID, 10, 32)
if err != nil {
return nil, ErrBadQuery{msg: fmt.Sprintf("change ID expected to be integer, provided ID was: %d", changeID)}
return nil, ErrBadQuery{msg: fmt.Sprintf("change ID expected to be integer, provided ID was: %s", changeID)}
}
}

Expand Down
2 changes: 1 addition & 1 deletion signer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4-alpine
FROM golang:1.10.1-alpine

RUN apk add --update git gcc libc-dev

Expand Down
2 changes: 1 addition & 1 deletion signer.minimal.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4-alpine AS build-env
FROM golang:1.10.1-alpine AS build-env
RUN apk add --update git gcc libc-dev
# Pin to the specific v3.0.0 version
RUN go get -tags 'mysql postgres file' github.com/mattes/migrate/cli && mv /go/bin/cli /go/bin/migrate
Expand Down
5 changes: 3 additions & 2 deletions vendor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ github.com/cenk/backoff 32cd0c5b3aef12c76ed64aaf678f6c79736be7dc #

# Testing requirements
github.com/stretchr/testify 089c7181b8c728499929ff09b62d3fdd8df8adff
github.com/cloudflare/cfssl 7fb22c8cba7ecaf98e4082d22d65800cf45e042a
github.com/google/certificate-transparency 0f6e3d1d1ba4d03fdaab7cd716f36255c2e48341
github.com/cloudflare/cfssl 4e2dcbde500472449917533851bf4bae9bdff562 # v1.3.1
github.com/google/certificate-transparency-go 5ab67e519c93568ac3ee50fd6772a5bcf8aa460d
github.com/gogo/protobuf 1adfc126b41513cc696b209667c8656ea7aac67c # v1.0.0
Loading

0 comments on commit a57c5a7

Please sign in to comment.