def obj_make_compatible(self, primitive, target_version):
        target_version = versionutils.convert_version_to_tuple(target_version)
        if target_version < (1, 1) and 'tag' in primitive:
            del primitive['tag']
dataset/ETHPy150Open openstack/nova/nova/objects/virtual_interface.py/VirtualInterface.obj_make_compatible/original