diff --git a/insights/combiners/mounts.py b/insights/combiners/mounts.py index 620a4b587b..0ddb698408 100644 --- a/insights/combiners/mounts.py +++ b/insights/combiners/mounts.py @@ -29,11 +29,16 @@ from insights.parsers import keyword_search from insights.parsers.mount import Mount, ProcMounts, MountInfo from insights.parsers.mount import MountEntry, MountAddtlInfo +from insights.util import deprecated @combiner([Mount, ProcMounts, MountInfo]) class Mounts(object): """ + .. warning:: + This class is deprecated now and will be removed in version 3.2.0. + Use insights.parsers.mount directly. + ``Mounts`` combiner consolidates data from the parsers in ``insights.parsers.mounts`` module. @@ -42,6 +47,7 @@ class Mounts(object): """ def __init__(self, binmount, procmounts, mountinfo): + deprecated(Mounts, "Use the parsers in insights.parsers.mount module instead", "3.1.25") self._mounts = {} all_mount_points = set().union(