Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proc_reader: avoid warning for pid=0 #1554

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Commits on Oct 5, 2023

  1. proc_reader: avoid warning for pid=0

    In some cases, we try to get the docker of pid=0, which fails and
    produces the following warning:
    time="2023-10-04T10:27:14Z" level=warning msg="Procfs execve event pods/ identifier error" error="open /procRoot/0/cgroup: no such file or directory"
    
    This warning is confusing, so avoid it by not calling the relevant code
    for pid=0.
    
    Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
    kkourt committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    a610e13 View commit details
    Browse the repository at this point in the history