Skip to content

Commit d447c47

Browse files
trentmpichlermarc
andauthored
use TS compile-time private annotation on this internal method
Co-authored-by: Marc Pichler <[email protected]>
1 parent 5d2a1b5 commit d447c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detectors/node/opentelemetry-resource-detector-container/src/detectors/ContainerDetector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class ContainerDetector implements ResourceDetector {
4848
return { attributes };
4949
}
5050

51-
async _getContainerIdWithSuppressedTracing(): Promise<string | undefined> {
51+
private async _getContainerIdWithSuppressedTracing(): Promise<string | undefined> {
5252
return context.with(suppressTracing(context.active()), () =>
5353
this._getContainerId()
5454
);

0 commit comments

Comments
 (0)