Skip to content

Commit

Permalink
rebase from master
Browse files Browse the repository at this point in the history
Signed-off-by: xliuqq <xlzq1992@gmail.com>
  • Loading branch information
xliuqq committed Jun 22, 2024
1 parent 24f81b1 commit dac7f8a
Show file tree
Hide file tree
Showing 10 changed files with 99 additions and 56 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ require (
github.com/go-logr/logr v1.4.1
github.com/golang/glog v1.2.1
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.6.0
github.com/kubernetes-csi/drivers v1.0.2
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.33.1
Expand Down Expand Up @@ -106,7 +107,6 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
github.com/google/uuid v1.6.0 // indirect
Expand Down
10 changes: 7 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1283,8 +1283,11 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4=
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down Expand Up @@ -1315,15 +1318,16 @@ go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmY
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ=
go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI=
go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
Expand Down
12 changes: 6 additions & 6 deletions pkg/application/inject/fuse/injector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4567,7 +4567,7 @@ func TestInjectPodWithInitContainer(t *testing.T) {
LocalObjectReference: corev1.LocalObjectReference{
Name: "check-fluid-mount-ready",
},
DefaultMode: utilpointer.Int32(mode),
DefaultMode: ptr.To[int32](mode),
},
},
},
Expand Down Expand Up @@ -4603,7 +4603,7 @@ func TestInjectPodWithInitContainer(t *testing.T) {
LocalObjectReference: corev1.LocalObjectReference{
Name: "duplicate-jindo-check-mount",
},
DefaultMode: utilpointer.Int32(mode),
DefaultMode: ptr.To[int32](mode),
},
},
},
Expand Down Expand Up @@ -4890,7 +4890,7 @@ func TestInjectPodWithInitContainer(t *testing.T) {
LocalObjectReference: corev1.LocalObjectReference{
Name: "check-fluid-mount-ready",
},
DefaultMode: utilpointer.Int32(mode),
DefaultMode: ptr.To[int32](mode),
},
},
},
Expand Down Expand Up @@ -4924,7 +4924,7 @@ func TestInjectPodWithInitContainer(t *testing.T) {
LocalObjectReference: corev1.LocalObjectReference{
Name: "dataset1-jindo-check-mount",
},
DefaultMode: utilpointer.Int32(mode),
DefaultMode: ptr.To[int32](mode),
},
},
},
Expand Down Expand Up @@ -5231,7 +5231,7 @@ func TestInjectPodWithInitContainer(t *testing.T) {
LocalObjectReference: corev1.LocalObjectReference{
Name: "check-fluid-mount-ready",
},
DefaultMode: utilpointer.Int32(mode),
DefaultMode: ptr.To[int32](mode),
},
},
},
Expand Down Expand Up @@ -5267,7 +5267,7 @@ func TestInjectPodWithInitContainer(t *testing.T) {
LocalObjectReference: corev1.LocalObjectReference{
Name: "customizedenv-jindo-check-mount",
},
DefaultMode: utilpointer.Int32(mode),
DefaultMode: ptr.To[int32](mode),
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion vendor/go.uber.org/zap/.golangci.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 34 additions & 18 deletions vendor/go.uber.org/zap/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 28 additions & 25 deletions vendor/go.uber.org/zap/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/go.uber.org/zap/buffer/buffer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/go.uber.org/zap/field.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dac7f8a

Please sign in to comment.