Skip to content

Commit 115ec54

Browse files
committed
small changes
1 parent 35b2a0b commit 115ec54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

processor/k8sattributesprocessor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ the processor associates the received trace to the pod, based on the connection
192192
"k8s.pod.uid": "038e2267-b473-489b-b48c-46bafdb852eb",
193193
"container.image.name": "telemetrygen",
194194
"container.image.tag": "0.112.0",
195-
"container.image.repo_digests": "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen@sha256:b248ef911f93ae27cbbc85056d1ffacc87fd941bbdc2ffd951b6df8df72b8096"
195+
"container.image.repo_digests": ["ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen@sha256:b248ef911f93ae27cbbc85056d1ffacc87fd941bbdc2ffd951b6df8df72b8096"]
196196
}
197197
}
198198
```

processor/k8sattributesprocessor/internal/kube/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ func removeUnnecessaryPodData(pod *api_v1.Pod, rules ExtractionRules) *api_v1.Po
633633
return &transformedPod
634634
}
635635

636-
// parseAttributesFromImage parses the image name and tag for differently-formatted image names.
636+
// parseNameAndTagFromImage parses the image name and tag for differently-formatted image names.
637637
// returns "latest" as the default if tag not present. also checks if the image contains a digest.
638638
// if it does, no latest tag is assumed.
639639
func parseNameAndTagFromImage(image string) (name, tag string, err error) {

0 commit comments

Comments
 (0)