Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff10b9c

Browse files
committed
Merge branch 'clihelp' into ides
2 parents c625594 + 34e7eb5 commit ff10b9c

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

agent/agent_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ func TestAgent(t *testing.T) {
9797

9898
local, err := net.Listen("tcp", "127.0.0.1:0")
9999
require.NoError(t, err)
100+
defer local.Close()
100101
tcpAddr, valid = local.Addr().(*net.TCPAddr)
101102
require.True(t, valid)
102103
localPort := tcpAddr.Port

go.mod

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ require (
4848
github.com/fatih/color v1.13.0
4949
github.com/gliderlabs/ssh v0.3.3
5050
github.com/go-chi/chi/v5 v5.0.7
51+
github.com/go-chi/httprate v0.5.3
5152
github.com/go-chi/render v1.0.1
5253
github.com/go-playground/validator/v10 v10.10.1
5354
github.com/gohugoio/hugo v0.96.0
@@ -60,6 +61,7 @@ require (
6061
github.com/hashicorp/terraform-config-inspect v0.0.0-20211115214459-90acf1ca460f
6162
github.com/hashicorp/terraform-exec v0.15.0
6263
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87
64+
github.com/jedib0t/go-pretty/v6 v6.3.0
6365
github.com/justinas/nosurf v1.1.1
6466
github.com/kirsle/configdir v0.0.0-20170128060238-e45d2f54772f
6567
github.com/lib/pq v1.10.4
@@ -72,7 +74,9 @@ require (
7274
github.com/pion/transport v0.13.0
7375
github.com/pion/webrtc/v3 v3.1.27
7476
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
77+
github.com/pkg/sftp v1.13.4
7578
github.com/quasilyte/go-ruleguard/dsl v0.3.19
79+
github.com/robfig/cron/v3 v3.0.1
7680
github.com/rs/zerolog v1.26.1
7781
github.com/spf13/cobra v1.4.0
7882
github.com/spf13/pflag v1.0.5
@@ -83,25 +87,19 @@ require (
8387
go.uber.org/atomic v1.9.0
8488
go.uber.org/goleak v1.1.12
8589
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
90+
golang.org/x/mod v0.5.1
8691
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a
8792
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
8893
golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886
94+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
8995
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
9096
google.golang.org/api v0.74.0
9197
google.golang.org/protobuf v1.28.0
98+
gopkg.in/DataDog/dd-trace-go.v1 v1.37.1
9299
nhooyr.io/websocket v1.8.7
93100
storj.io/drpc v0.0.30
94101
)
95102

96-
require github.com/go-chi/httprate v0.5.3
97-
98-
require (
99-
github.com/jedib0t/go-pretty/v6 v6.3.0
100-
github.com/pkg/sftp v1.13.4
101-
)
102-
103-
require github.com/kr/fs v0.1.0 // indirect
104-
105103
require (
106104
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
107105
github.com/BurntSushi/toml v1.0.0 // indirect
@@ -176,6 +174,7 @@ require (
176174
github.com/json-iterator/go v1.1.12 // indirect
177175
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
178176
github.com/klauspost/compress v1.15.0 // indirect
177+
github.com/kr/fs v0.1.0 // indirect
179178
github.com/leodido/go-urn v1.2.1 // indirect
180179
github.com/lucas-clemente/quic-go v0.25.1-0.20220307142123-ad1cb27c1b64 // indirect
181180
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
@@ -227,7 +226,6 @@ require (
227226
github.com/prometheus/procfs v0.7.3 // indirect
228227
github.com/rivo/tview v0.0.0-20200712113419-c65badfc3d92 // indirect
229228
github.com/rivo/uniseg v0.2.0 // indirect
230-
github.com/robfig/cron/v3 v3.0.1
231229
github.com/russross/blackfriday/v2 v2.1.0 // indirect
232230
github.com/sirupsen/logrus v1.8.1 // indirect
233231
github.com/spf13/afero v1.8.1 // indirect
@@ -240,16 +238,13 @@ require (
240238
github.com/zclconf/go-cty v1.10.0 // indirect
241239
github.com/zeebo/errs v1.2.2 // indirect
242240
go.opencensus.io v0.23.0 // indirect
243-
golang.org/x/mod v0.5.1
244241
golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect
245-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
246242
golang.org/x/text v0.3.7 // indirect
247243
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
248244
golang.org/x/tools v0.1.9 // indirect
249245
google.golang.org/appengine v1.6.7 // indirect
250246
google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb // indirect
251247
google.golang.org/grpc v1.45.0 // indirect
252-
gopkg.in/DataDog/dd-trace-go.v1 v1.37.1
253248
gopkg.in/coreos/go-oidc.v2 v2.2.1 // indirect
254249
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
255250
gopkg.in/square/go-jose.v2 v2.6.0 // indirect

0 commit comments

Comments
 (0)