diff --git a/build/bazelutil/nogo_config.json b/build/bazelutil/nogo_config.json index c15a472ce358..a5a3316d1cee 100644 --- a/build/bazelutil/nogo_config.json +++ b/build/bazelutil/nogo_config.json @@ -1624,7 +1624,7 @@ "github.com/elastic/gosigar": "third-party", "github.com/shirou/gopsutil": "third-party code", "pkg/.*\\.eg\\.go$": "generated code", - ".*\\.pb\\.go$": "generated code", + ".*\\.pb(_[0-9]+)?\\.go$": "generated code", ".*\\.pb\\.gw\\.go$": "generated code", "pkg/.*_generated\\.go$": "generated code" }