Skip to content

Commit

Permalink
fix(podresources): switch socket error to debug (DataDog#31789)
Browse files Browse the repository at this point in the history
Signed-off-by: Wassim DHIF <[email protected]>
  • Loading branch information
wdhif authored Dec 5, 2024
1 parent bb8fa26 commit beb6274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/util/kubernetes/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ func (ku *KubeUtil) getLocalPodList(ctx context.Context) (*PodList, error) {

err = ku.addContainerResourcesData(ctx, pods.Items)
if err != nil {
log.Errorf("Error adding container resources data: %s", err)
// TODO: Switch back to error level once the socket issue is fixed.
log.Debugf("Error adding container resources data: %s", err)
}

// ensure we dont have nil pods
Expand Down

0 comments on commit beb6274

Please sign in to comment.