def deprecated(comment=None):
    def deco(func):
        @functools.wraps(func)
        def new_func(*args, **kwargs):
            message = "Call to deprecated function {}.".format(func.__name__)
            if comment is not None:
                message += ' ' + comment
            warnings.warn(message, category=DeprecationWarning)
            return func(*args, **kwargs)
        return new_func
    return deco
Docker volumes that cannot be matched to a dataset are ignored.
dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/utils/deprecation.py/deprecated--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/ApplicationNodeDeployerDiscoverNodeConfigurationTests.test_ignore_unknown_volumes