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

mountinfo: deprecate PidMountInfo #47

Merged
merged 1 commit into from
Oct 6, 2020
Merged

Commits on Oct 5, 2020

  1. mountinfo: deprecate PidMountInfo

    Function PidMountInfo is not named correctly (it should be PID not Pid,
    and we already have mountinfo in the package name so it's tautological),
    and can not accept FilterFunc.
    
    Besides, there are not too many users of this function (I was only able
    to found one, see [1]) and users can switch to GetMountsFromReader.
    
    Depreate this function. The plan is to remove it before v1.0.
    
    [1] DataDog/datadog-agent@406d98801434dedc87
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Oct 5, 2020
    Configuration menu
    Copy the full SHA
    3358500 View commit details
    Browse the repository at this point in the history