Fix: remove agent unused go dependency (#1050)

This commit is contained in:
Igor Gov 2022-04-28 12:08:59 +03:00 committed by GitHub
parent 3978ace4ef
commit 4e22e77597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -67,6 +67,7 @@ COPY tap/extensions/kafka/go.mod ../tap/extensions/kafka/
COPY tap/extensions/redis/go.mod ../tap/extensions/redis/ COPY tap/extensions/redis/go.mod ../tap/extensions/redis/
RUN go mod download RUN go mod download
# cheap trick to make the build faster (as long as go.mod did not change) # cheap trick to make the build faster (as long as go.mod did not change)
RUN go get github.com/patrickmn/go-cache
RUN go list -f '{{.Path}}@{{.Version}}' -m all | sed 1d | grep -e 'go-cache' | xargs go get RUN go list -f '{{.Path}}@{{.Version}}' -m all | sed 1d | grep -e 'go-cache' | xargs go get
# Copy and build agent code # Copy and build agent code

View File

@ -19,7 +19,6 @@ require (
github.com/nav-inc/datetime v0.1.3 github.com/nav-inc/datetime v0.1.3
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
github.com/orcaman/concurrent-map v1.0.0 github.com/orcaman/concurrent-map v1.0.0
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/stretchr/testify v1.7.0 github.com/stretchr/testify v1.7.0
github.com/up9inc/basenine/client/go v0.0.0-20220419100955-e2ca51087607 github.com/up9inc/basenine/client/go v0.0.0-20220419100955-e2ca51087607
github.com/up9inc/mizu/logger v0.0.0 github.com/up9inc/mizu/logger v0.0.0