Skip to content

Commit d2b9050

Browse files
authored
Merge pull request #3218 from crazy-max/fix-mod
fix lint and go mods
2 parents 3a23580 + 2f65460 commit d2b9050

9 files changed

Lines changed: 82 additions & 42 deletions

File tree

Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,17 @@ ARG DEBIAN_FRONTEND
104104
RUN apt-get install -y --no-install-recommends libgcc-10-dev libc6-dev
105105
RUN --mount=type=bind,target=. \
106106
--mount=type=cache,target=/root/.cache \
107-
--mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \
108-
golangci-lint run ./... && cd swarmd && golangci-lint run ./...
107+
--mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint <<EOT
108+
set -e
109+
config=$(pwd)/.golangci.yml
110+
for dir in . swarmd; do
111+
(
112+
set -x
113+
cd $dir
114+
golangci-lint run --config "$config" ./...
115+
)
116+
done
117+
EOT
109118

110119
FROM gobase AS fmt-proto
111120
RUN --mount=type=bind,target=. \

ca/config.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"math/big"
1010
"math/rand"
1111
"path/filepath"
12-
"slices"
1312
"strings"
1413
"sync"
1514
"time"
@@ -661,7 +660,7 @@ func NewServerTLSConfig(certs []tls.Certificate, rootCAPool *x509.CertPool) (*tl
661660
RootCAs: rootCAPool,
662661
ClientCAs: rootCAPool,
663662
PreferServerCipherSuites: true,
664-
CipherSuites: slices.Clone(strongTLSCiphers),
663+
CipherSuites: append([]uint16(nil), strongTLSCiphers...),
665664
MinVersion: tls.VersionTLS12,
666665
NextProtos: alpnProtoStr,
667666
}, nil
@@ -678,7 +677,7 @@ func NewClientTLSConfig(certs []tls.Certificate, rootCAPool *x509.CertPool, serv
678677
ServerName: serverName,
679678
Certificates: certs,
680679
RootCAs: rootCAPool,
681-
CipherSuites: slices.Clone(strongTLSCiphers),
680+
CipherSuites: append([]uint16(nil), strongTLSCiphers...),
682681
MinVersion: tls.VersionTLS12,
683682
}, nil
684683
}

manager/deks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ func (r RaftDEKData) UnmarshalHeaders(headers map[string]string, kekData ca.KEKD
8181
func (r RaftDEKData) MarshalHeaders(kekData ca.KEKData) (map[string]string, error) {
8282
headers := make(map[string]string)
8383
for headerKey, contents := range map[string][]byte{
84-
pemHeaderRaftDEK: r.CurrentDEK,
85-
pemHeaderRaftPendingDEK: r.PendingDEK,
84+
pemHeaderRaftDEK: r.EncryptionKeys.CurrentDEK,
85+
pemHeaderRaftPendingDEK: r.EncryptionKeys.PendingDEK,
8686
} {
8787
if contents != nil {
8888
dekStr, err := encodePEMHeaderValue(contents, kekData.KEK, r.FIPS)

manager/state/raft/testutils/testutils.go

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ import (
99
"testing"
1010
"time"
1111

12-
"google.golang.org/grpc"
13-
1412
"code.cloudfoundry.org/clock/fakeclock"
13+
"github.com/docker/go-events"
1514
"github.com/moby/swarmkit/v2/api"
1615
"github.com/moby/swarmkit/v2/ca"
1716
cautils "github.com/moby/swarmkit/v2/ca/testutils"
@@ -25,6 +24,7 @@ import (
2524
"github.com/stretchr/testify/require"
2625
etcdraft "go.etcd.io/etcd/raft/v3"
2726
"go.etcd.io/etcd/raft/v3/raftpb"
27+
"google.golang.org/grpc"
2828
)
2929

3030
// TestNode represents a raft test node
@@ -46,6 +46,38 @@ func (n *TestNode) Leader() uint64 {
4646
return id
4747
}
4848

49+
func (n *TestNode) Status() etcdraft.Status {
50+
return n.Node.Status()
51+
}
52+
53+
func (n *TestNode) Run(ctx context.Context) {
54+
n.Node.Run(ctx)
55+
}
56+
57+
func (n *TestNode) Done() <-chan struct{} {
58+
return n.Node.Done()
59+
}
60+
61+
func (n *TestNode) ProposeValue(ctx context.Context, actions []api.StoreAction, cb func()) error {
62+
return n.Node.ProposeValue(ctx, actions, cb)
63+
}
64+
65+
func (n *TestNode) MemoryStore() *store.MemoryStore {
66+
return n.Node.MemoryStore()
67+
}
68+
69+
func (n *TestNode) ReadyForProposals() bool {
70+
return n.Node.ReadyForProposals()
71+
}
72+
73+
func (n *TestNode) GetMemberlist() map[uint64]*api.RaftMember {
74+
return n.Node.GetMemberlist()
75+
}
76+
77+
func (n *TestNode) SubscribeLeadership() (q chan events.Event, cancel func()) {
78+
return n.Node.SubscribeLeadership()
79+
}
80+
4981
// AdvanceTicks advances the raft state machine fake clock
5082
func AdvanceTicks(clockSource *fakeclock.FakeClock, ticks int) {
5183
// A FakeClock timer won't fire multiple times if time is advanced
@@ -66,7 +98,7 @@ func WaitForCluster(t *testing.T, clockSource *fakeclock.FakeClock, nodes map[ui
6698
prev = new(etcdraft.Status)
6799
*prev = n.Status()
68100
for _, n2 := range nodes {
69-
if n2.Config.ID == prev.Lead {
101+
if n2.Node.Config.ID == prev.Lead {
70102
leadNode = n2
71103
continue nodeLoop
72104
}
@@ -76,7 +108,7 @@ func WaitForCluster(t *testing.T, clockSource *fakeclock.FakeClock, nodes map[ui
76108
cur := n.Status()
77109

78110
for _, n2 := range nodes {
79-
if n2.Config.ID == cur.Lead {
111+
if n2.Node.Config.ID == cur.Lead {
80112
if cur.Lead != prev.Lead || cur.Term != prev.Term || cur.Applied != prev.Applied {
81113
return errors.New("state does not match on all nodes")
82114
}
@@ -496,7 +528,7 @@ func CleanupNonRunningNode(node *TestNode) {
496528
// belonging to the same cluster
497529
func Leader(nodes map[uint64]*TestNode) *TestNode {
498530
for _, n := range nodes {
499-
if n.Config.ID == n.Leader() {
531+
if n.Node.Config.ID == n.Leader() {
500532
return n
501533
}
502534
}

swarmd/go.mod

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,25 @@ module github.com/moby/swarmkit/swarmd
33
go 1.18
44

55
require (
6-
code.cloudfoundry.org/clock v1.1.0 // indirect
7-
github.com/Microsoft/go-winio v0.6.1 // indirect
86
github.com/cloudflare/cfssl v1.6.4
9-
github.com/container-storage-interface/spec v1.2.0 // indirect
10-
github.com/distribution/reference v0.5.0 // indirect
117
github.com/docker/docker v24.0.0-rc.2.0.20230908212318-6ce5aa1cd5a4+incompatible // master (v25.0.0-dev)
128
github.com/docker/go-connections v0.4.1-0.20231110212414-fa09c952e3ea
13-
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
14-
github.com/docker/go-metrics v0.0.1 // indirect
159
github.com/docker/go-units v0.5.0
1610
github.com/dustin/go-humanize v1.0.0
17-
github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee // indirect
1811
github.com/gogo/protobuf v1.3.2
19-
github.com/golang/protobuf v1.5.3 // indirect
2012
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
21-
github.com/hashicorp/go-memdb v1.3.2 // indirect
22-
github.com/opencontainers/go-digest v1.0.0 // indirect
13+
github.com/moby/swarmkit/v2 v2.0.0-20240125134710-dcda100a8261
2314
github.com/opencontainers/image-spec v1.1.0-rc5
2415
github.com/pkg/errors v0.9.1
2516
github.com/prometheus/client_golang v1.14.0
2617
github.com/sirupsen/logrus v1.9.3
2718
github.com/spf13/cobra v1.7.0
2819
github.com/spf13/pflag v1.0.5
2920
github.com/stretchr/testify v1.8.4
30-
go.etcd.io/bbolt v1.3.7 // indirect
3121
go.etcd.io/etcd/client/pkg/v3 v3.5.6
32-
go.etcd.io/etcd/pkg/v3 v3.5.6 // indirect
3322
go.etcd.io/etcd/raft/v3 v3.5.6
3423
go.etcd.io/etcd/server/v3 v3.5.6
35-
golang.org/x/crypto v0.14.0 // indirect
36-
golang.org/x/net v0.17.0 // indirect
3724
golang.org/x/time v0.3.0
38-
3925
// NOTE(dperny,cyli): there is some error handling, found in the
4026
// (*firstSessionErrorTracker).SessionClosed method in node/node.go, which
4127
// relies on string matching to handle x509 errors. between grpc versions 1.3.0
@@ -52,31 +38,41 @@ require (
5238
google.golang.org/grpc v1.53.0
5339
)
5440

55-
require github.com/moby/swarmkit/v2 v2.0.0-20240125134710-dcda100a8261
56-
5741
require (
58-
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
42+
code.cloudfoundry.org/clock v1.1.0 // indirect
43+
github.com/Microsoft/go-winio v0.6.1 // indirect
5944
github.com/beorn7/perks v1.0.1 // indirect
6045
github.com/cespare/xxhash/v2 v2.2.0 // indirect
46+
github.com/container-storage-interface/spec v1.2.0 // indirect
6147
github.com/containerd/containerd v1.6.22 // indirect
6248
github.com/davecgh/go-spew v1.1.1 // indirect
49+
github.com/distribution/reference v0.5.0 // indirect
50+
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
51+
github.com/docker/go-metrics v0.0.1 // indirect
6352
github.com/felixge/httpsnoop v1.0.3 // indirect
53+
github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee // indirect
6454
github.com/go-logr/logr v1.2.4 // indirect
6555
github.com/go-logr/stdr v1.2.2 // indirect
56+
github.com/golang/protobuf v1.5.3 // indirect
6657
github.com/google/certificate-transparency-go v1.1.4 // indirect
6758
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
59+
github.com/hashicorp/go-memdb v1.3.2 // indirect
6860
github.com/hashicorp/golang-lru v0.5.4 // indirect
6961
github.com/inconshreveable/mousetrap v1.1.0 // indirect
7062
github.com/ishidawataru/sctp v0.0.0-20230406120618-7ff4192f6ff2 // indirect
7163
github.com/jmoiron/sqlx v1.3.3 // indirect
7264
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
65+
github.com/moby/term v0.5.2 // indirect
66+
github.com/opencontainers/go-digest v1.0.0 // indirect
7367
github.com/pmezard/go-difflib v1.0.0 // indirect
7468
github.com/prometheus/client_model v0.3.0 // indirect
7569
github.com/prometheus/common v0.42.0 // indirect
7670
github.com/prometheus/procfs v0.9.0 // indirect
7771
github.com/weppos/publicsuffix-go v0.15.1-0.20210511084619-b1f36a2d6c0b // indirect
7872
github.com/zmap/zcrypto v0.0.0-20210511125630-18f1e0152cfc // indirect
7973
github.com/zmap/zlint/v3 v3.1.0 // indirect
74+
go.etcd.io/bbolt v1.3.7 // indirect
75+
go.etcd.io/etcd/pkg/v3 v3.5.6 // indirect
8076
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.29.0 // indirect
8177
go.opentelemetry.io/otel v1.4.1 // indirect
8278
go.opentelemetry.io/otel/internal/metric v0.27.0 // indirect
@@ -85,7 +81,9 @@ require (
8581
go.uber.org/atomic v1.9.0 // indirect
8682
go.uber.org/multierr v1.8.0 // indirect
8783
go.uber.org/zap v1.21.0 // indirect
84+
golang.org/x/crypto v0.14.0 // indirect
8885
golang.org/x/mod v0.11.0 // indirect
86+
golang.org/x/net v0.17.0 // indirect
8987
golang.org/x/sys v0.13.0 // indirect
9088
golang.org/x/text v0.13.0 // indirect
9189
golang.org/x/tools v0.10.0 // indirect
@@ -94,6 +92,3 @@ require (
9492
gopkg.in/yaml.v3 v3.0.1 // indirect
9593
k8s.io/klog/v2 v2.90.1 // indirect
9694
)
97-
98-
// Removes etcd dependency
99-
replace github.com/rexray/gocsi => github.com/dperny/gocsi v1.2.3-pre

swarmd/go.sum

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiy
1313
code.cloudfoundry.org/clock v1.1.0 h1:XLzC6W3Ah/Y7ht1rmZ6+QfPdt1iGWEAAtIZXgiaj57c=
1414
code.cloudfoundry.org/clock v1.1.0/go.mod h1:yA3fxddT9RINQL2XHS7PS+OXxKCGhfrZmlNUCIM6AKo=
1515
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
16-
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8=
17-
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
16+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c h1:udKWzYgxTojEKWjV8V+WSxDXJ4NFATAsZjh8iIbsQIg=
1817
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
1918
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
2019
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
@@ -67,6 +66,7 @@ github.com/container-storage-interface/spec v1.2.0/go.mod h1:6URME8mwIBbpVyZV93C
6766
github.com/containerd/containerd v1.6.22 h1:rGTIBxPJusM0evF6wKgIzuD+tV70nmx9eEjzHVm1JzI=
6867
github.com/containerd/containerd v1.6.22/go.mod h1:BQAJdahvGz8xboAvxKg9hsDYIovn79Ea318anowQ1/o=
6968
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
69+
github.com/coreos/etcd v3.3.13+incompatible h1:8F3hqu9fGYLBifCmRCJsicFqDx/D68Rt3q1JMazcgBQ=
7070
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
7171
github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
7272
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
@@ -93,7 +93,6 @@ github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQ
9393
github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw=
9494
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
9595
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
96-
github.com/dperny/gocsi v1.2.3-pre h1:GRTvl8G6yEXYPyul1h6YAqtyxzUHTrQHo6G3xZpb9oM=
9796
github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
9897
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
9998
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
@@ -271,7 +270,8 @@ github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:F
271270
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
272271
github.com/moby/swarmkit/v2 v2.0.0-20240125134710-dcda100a8261 h1:mjLf2jYrqtIS4LvLzg0gNyJR4rMXS4X5Bg1A4hOhVMs=
273272
github.com/moby/swarmkit/v2 v2.0.0-20240125134710-dcda100a8261/go.mod h1:oRJU1d0hrkkwCtouwfQGcIAKcVEkclMYoLWocqrg6gI=
274-
github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0=
273+
github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ=
274+
github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFLc=
275275
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
276276
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
277277
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
@@ -331,6 +331,7 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1
331331
github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI=
332332
github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY=
333333
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
334+
github.com/rexray/gocsi v1.2.2 h1:h9F/eSizORihN+XT+mxhq7ClZ3cYo1L9RvasN6dKz8U=
334335
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
335336
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
336337
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
@@ -551,7 +552,6 @@ golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7w
551552
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
552553
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
553554
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
554-
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
555555
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
556556
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
557557
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

swarmd/go.work.sum

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,14 @@ contrib.go.opencensus.io/exporter/stackdriver v0.13.12/go.mod h1:mmxnWlrvrFdpiOH
252252
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY=
253253
github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8 h1:V8krnnfGj4pV65YLUm3C0/8bl7V5Nry2Pwvy3ru/wLc=
254254
github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg=
255+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
255256
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
256257
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=
257258
github.com/Microsoft/hcsshim v0.9.8 h1:lf7xxK2+Ikbj9sVf2QZsouGjRjEp2STj1yDHgoVtU5k=
258259
github.com/Microsoft/hcsshim v0.9.8/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc=
259260
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
261+
github.com/akutz/gosync v0.1.0/go.mod h1:I8I4aiqJI1nqaeYOOB1WS+CgRJVVPqhct9Y4njywM84=
262+
github.com/akutz/memconn v0.1.0/go.mod h1:Jo8rI7m0NieZyLI5e2CDlRdRqRRB4S7Xp77ukDjH+Fw=
260263
github.com/alecthomas/kingpin/v2 v2.3.1 h1:ANLJcKmQm4nIaog7xdr/id6FM6zm5hHnfZrvtKPxqGg=
261264
github.com/alecthomas/kingpin/v2 v2.3.1/go.mod h1:oYL5vtsvEHZGHxU7DMp32Dvx+qL+ptGn6lWaot2vCNE=
262265
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=
@@ -320,13 +323,14 @@ github.com/containernetworking/plugins v1.1.1/go.mod h1:Sr5TH/eBsGLXK/h71HeLfX19
320323
github.com/containers/ocicrypt v1.1.3 h1:uMxn2wTb4nDR7GqG3rnZSfpJXqWURfzZ7nKydzIeKpA=
321324
github.com/containers/ocicrypt v1.1.3/go.mod h1:xpdkbVAuaH3WzbEabUd5yDsl9SwJA5pABH85425Es2g=
322325
github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s=
323-
github.com/coreos/etcd v3.3.13+incompatible h1:8F3hqu9fGYLBifCmRCJsicFqDx/D68Rt3q1JMazcgBQ=
324326
github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM=
325327
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8=
326328
github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI=
327329
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg=
328330
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
329331
github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
332+
github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
333+
github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
330334
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
331335
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954 h1:RMLoZVzv4GliuWafOuPuQDKSm1SJph7uCRnnS61JAn4=
332336
github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk=
@@ -495,6 +499,7 @@ github.com/posener/complete v1.1.1 h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5
495499
github.com/prometheus/prometheus v2.5.0+incompatible h1:7QPitgO2kOFG8ecuRn9O/4L9+10He72rVRJvMXrE9Hg=
496500
github.com/prometheus/prometheus v2.5.0+incompatible/go.mod h1:oAIUtOny2rjMX0OWN5vPR5/q/twIROJvdqnQKDdil/s=
497501
github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA=
502+
github.com/rexray/gocsi v1.2.2/go.mod h1:X9oJHHpIVGmfKdK8e+JuCXafggk7HxL9mWQOgrsoHpo=
498503
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
499504
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
500505
github.com/rogpeppe/fastuuid v1.2.0 h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s=

tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ require (
1111
)
1212

1313
// match ../go.mod
14-
replace github.com/golang/protobuf => github.com/golang/protobuf v1.5.2
14+
replace github.com/golang/protobuf => github.com/golang/protobuf v1.5.3

tools/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
1212
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
1313
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
1414
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
15-
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
16-
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
15+
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
16+
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
1717
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
1818
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
1919
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=

0 commit comments

Comments
 (0)