Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0Brien committed Feb 7, 2025
1 parent 7a4f467 commit 946cf36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/docker/docker v27.2.0+incompatible // indirect
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-jose/go-jose/v4 v4.0.4 // indirect
github.com/go-kratos/aegis v0.2.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion internal/middleware/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var (
AbstractResources = map[string]struct{}{} // Tracks resource types marked as abstract (no resource_data)
)

func Validation(validator *protovalidate.Validator) middleware.Middleware {
func Validation(validator protovalidate.Validator) middleware.Middleware {
LoadResources()
return func(handler middleware.Handler) middleware.Handler {
return func(ctx context.Context, req interface{}) (interface{}, error) {
Expand Down

0 comments on commit 946cf36

Please sign in to comment.