Skip to content

Commit

Permalink
Warn on failure to get container metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
umanwizard committed Nov 18, 2024
1 parent 75127d5 commit 5aa0579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reporter/metadata/containermetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func (p *containerMetadataProvider) AddMetadata(pid libpf.PID, lb *labels.Builde
case isContainerEnvironment(env, envDocker) && p.dockerClient != nil:
metadata, err := p.getDockerContainerMetadata(pidContainerID)
if err != nil {
log.Debugf("Failed to get docker container metadata for container id %v: %v",
log.Warnf("Failed to get docker container metadata for container id %v: %v",
pidContainerID, err)
return false
}
Expand Down

0 comments on commit 5aa0579

Please sign in to comment.