Skip to content

Commit 29b18c2

Browse files
fix:complie (#3242)
* fix:complie --------- Co-authored-by: chejinge <[email protected]>
1 parent 5ed38e4 commit 29b18c2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tools/pika_exporter/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ build: deps
6666

6767
deps: generateVer
6868
@mkdir -p bin
69+
@go mod tidy
6970

7071
generateVer:
7172
@echo "$$GENERATE_VERSION_CODE" | bash

tools/pika_exporter/go.mod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,20 @@ require (
88
github.com/pelletier/go-toml v1.9.5
99
github.com/prometheus/client_golang v1.14.0
1010
github.com/sirupsen/logrus v1.9.0
11+
github.com/stretchr/testify v1.7.0
1112
)
1213

1314
require (
1415
github.com/beorn7/perks v1.0.1 // indirect
1516
github.com/cespare/xxhash/v2 v2.1.2 // indirect
17+
github.com/davecgh/go-spew v1.1.1 // indirect
1618
github.com/golang/protobuf v1.5.2 // indirect
1719
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
20+
github.com/pmezard/go-difflib v1.0.0 // indirect
1821
github.com/prometheus/client_model v0.3.0 // indirect
1922
github.com/prometheus/common v0.37.0 // indirect
2023
github.com/prometheus/procfs v0.8.0 // indirect
21-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
24+
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
2225
google.golang.org/protobuf v1.28.1 // indirect
26+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
2327
)

0 commit comments

Comments
 (0)