File tree Expand file tree Collapse file tree 4 files changed +21
-18
lines changed
Expand file tree Collapse file tree 4 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 11go :
2- version : 1.17
3- cgo : false
2+ cgo : false
43repository :
5- path : github.com/ClusterLabs/ha_cluster_exporter
4+ path : github.com/ClusterLabs/ha_cluster_exporter
65build :
7- flags : -a -tags netgo
8- ldflags : |
9- -X github.com/prometheus/common/version.Version={{.Version}}
10- -X github.com/prometheus/common/version.Revision={{.Revision}}
11- -X github.com/prometheus/common/version.Branch={{.Branch}}
12- -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
13- -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
14- binaries :
15- - name : ha_cluster_exporter-amd64
16- - name : ha_cluster_exporter-arm64
17- - name : ha_cluster_exporter-ppc64le
18- - name : ha_cluster_exporter-s390x
6+ flags : -a -tags netgo
7+ ldflags : |
8+ -X github.com/prometheus/common/version.Version={{.Version}}
9+ -X github.com/prometheus/common/version.Revision={{.Revision}}
10+ -X github.com/prometheus/common/version.Branch={{.Branch}}
11+ -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
12+ -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
13+ binaries :
14+ - name : ha_cluster_exporter-amd64
15+ - name : ha_cluster_exporter-arm64
16+ - name : ha_cluster_exporter-ppc64le
17+ - name : ha_cluster_exporter-s390x
1918tarball :
20- files :
21- - LICENSE
19+ files :
20+ - LICENSE
Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ss
106106golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g =
107107golang.org/x/exp v0.0.0-20230905200255-921286631fa9 /go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k =
108108golang.org/x/mod v0.4.2 /go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA =
109+ golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA =
110+ golang.org/x/mod v0.17.0 /go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c =
109111golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 /go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg =
110112golang.org/x/net v0.0.0-20190620200207-3b0461eec859 /go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s =
111113golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 /go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM =
@@ -132,6 +134,8 @@ golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
132134golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e /go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ =
133135golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e /go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo =
134136golang.org/x/tools v0.1.1 /go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk =
137+ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg =
138+ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d /go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk =
135139golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 /go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0 =
136140golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 /go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0 =
137141golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 /go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0 =
File renamed without changes.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ func TestBin(t *testing.T) {
9999 var err error
100100 binName := "ha"
101101
102- binDir , err := io . TempDir ("/tmp" , binName + "-test-bindir-" )
102+ binDir , err := os . MkdirTemp ("/tmp" , binName + "-test-bindir-" )
103103 if err != nil {
104104 t .Fatal (err )
105105 }
You can’t perform that action at this time.
0 commit comments