File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 86
86
- name : gofmt
87
87
run : |
88
88
make install-tools
89
- make fmt
89
+ make for-all CMD="make fmt"
90
90
if ! git diff --exit-code; then
91
- echo "One or more Go files are not formatted correctly. Run 'make fmt' and push the changes."
91
+ echo "One or more Go files are not formatted correctly. Run 'make for-all CMD="make fmt" ' and push the changes."
92
92
exit 1
93
93
fi
94
94
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ import (
36
36
)
37
37
38
38
type metricCollectionTestOpts struct {
39
- compareMetricsOptions []pmetrictest.CompareMetricsOption
40
39
collectorEnvVars map [string ]string
41
40
fileMounts map [string ]string
41
+ compareMetricsOptions []pmetrictest.CompareMetricsOption
42
42
}
43
43
44
44
type MetricsCollectionTestOption func (* metricCollectionTestOpts )
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ import (
25
25
)
26
26
27
27
type SocketProxy struct {
28
+ listener net.Listener
29
+ t testing.TB
28
30
Path string
29
31
Endpoint string
30
32
ContainerEndpoint string
31
- listener net.Listener
32
33
wg sync.WaitGroup
33
34
active atomic.Bool
34
- t testing.TB
35
35
}
36
36
37
37
func CreateDockerSocketProxy (t testing.TB ) * SocketProxy {
You can’t perform that action at this time.
0 commit comments