'Restore values to VolumeMetadata object for provided fields.'

def _restore_vol_meta(self, metadata, volume_id, fields):

    LOG.debug('Restoring    volume    metadata')
    metadata = self._filter(metadata, fields)
    self.db.volume_metadata_update(self.context, volume_id, metadata, True)
