Skip to content

Commit

Permalink
🧹 update scan.proto name (#41)
Browse files Browse the repository at this point in the history
Renamed it to avoid naming clashes with other protos

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
  • Loading branch information
chris-rock authored Oct 3, 2022
1 parent 45338e8 commit b13c83b
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 190 deletions.
2 changes: 1 addition & 1 deletion cli/reporter/reporter.pb.go

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

2 changes: 1 addition & 1 deletion policy/policy.pb.go

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

188 changes: 188 additions & 0 deletions policy/scan/cnspec_policy_scan.pb.go

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

File renamed without changes.
2 changes: 1 addition & 1 deletion policy/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// Why do we want the scan stuff as a proto? Because we have a disk queue
// and it makes it easier and faster to serialize.

//go:generate protoc -I ../../cnquery --proto_path=../../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. scan.proto
//go:generate protoc -I ../../cnquery --proto_path=../../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. cnspec_policy_scan.proto

// 50MB default size
const ResolvedPolicyCacheSize = 52428800
Expand Down
Loading

0 comments on commit b13c83b

Please sign in to comment.