Commit 3358500
committed
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>1 parent 9cdf5ed commit 3358500
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| |||
0 commit comments