Skip to content

Commit fe60503

Browse files
authored
Merge pull request #1446 from Flying-Tom/bump-spf13-pflag
Chore: bump github.com/spf13/pflag & lint fix
2 parents 76e80d1 + 50c6298 commit fe60503

File tree

6 files changed

+5
-4
lines changed

6 files changed

+5
-4
lines changed

docs/ebpf_unit_test_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Kmesh eBPF 单元测试框架是一个用于测试 eBPF 内核态程序的工具
88

99
测试框架的目录结构如下:
1010

11-
``` plaintext
11+
```plaintext
1212
test/bpf_ut/
1313
├── bpftest/ # Go 语言实现的单元测试框架
1414
│ ├── bpf_test.go # 测试框架核心逻辑以及辅助函数
File renamed without changes.
File renamed without changes.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ require (
2222
github.com/safchain/ethtool v0.5.10
2323
github.com/sirupsen/logrus v1.9.3
2424
github.com/spf13/cobra v1.8.1
25-
github.com/spf13/pflag v1.0.6
25+
github.com/spf13/pflag v1.0.7
2626
github.com/stretchr/testify v1.10.0
2727
github.com/vishvananda/netlink v1.3.1
2828
golang.org/x/sys v0.32.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cA
404404
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
405405
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
406406
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
407-
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
408-
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
407+
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
408+
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
409409
github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI=
410410
github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg=
411411
github.com/stoewer/go-strcase v1.3.0 h1:g0eASXYtp+yvN9fK8sH94oCIk0fau9uV1/ZdJ0AVEzs=

hack/format.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if [ -z "$GITHUB_ACTIONS" ]; then
3636
docker run --rm \
3737
-v "$PWD":/workspace \
3838
-w /workspace \
39+
--user "$(id -u):$(id -g)" \
3940
davidanson/markdownlint-cli2:v0.18.1 \
4041
markdownlint-cli2 --fix "**/*.md"
4142
fi

0 commit comments

Comments
 (0)