def set_maximum_size(self, volume):
        d = self.pool.set_maximum_size(volume)

        def resized(filesystem):
            return volume
        d.addCallback(resized)
        return d
Resize an existing volume.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/service.py/VolumeService.set_maximum_size