Skip to content

Commit

Permalink
Update detectors/node/opentelemetry-resource-detector-container/src/d…
Browse files Browse the repository at this point in the history
…etectors/ContainerDetector.ts
  • Loading branch information
pichlermarc committed Sep 19, 2023
1 parent 4c2a342 commit f54e732
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class ContainerDetector implements Detector {
const splitData = rawData.trim().split('\n');
for (const line of splitData) {
const lastSlashIdx = line.lastIndexOf('/');
if (lastSlashIdx === -1){
if (lastSlashIdx === -1) {
continue;
}
const lastSection = line.substring(lastSlashIdx + 1);
Expand Down

0 comments on commit f54e732

Please sign in to comment.