Merge pull request #3974 from nikhilsaxena04/fix/grpc-monitor-proto-path
fix(network): correctly resolve health.proto path for gRPC monitors and include in build
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -75,7 +75,7 @@ export class GrpcProvider implements IStatusProvider<GrpcStatusPayload> {
|
||||
const target = `${host}:${port}`;
|
||||
|
||||
const currentFilePath = fileURLToPath(import.meta.url);
|
||||
const protoPath = path.join(path.dirname(currentFilePath), "protos", "health.proto");
|
||||
const protoPath = path.join(path.dirname(currentFilePath), "..", "protos", "health.proto");
|
||||
const packageDefinition = this.protoLoader.loadSync(protoPath, {
|
||||
keepCase: true,
|
||||
longs: String,
|
||||
|
||||
Reference in new issue
Block a user