From f08acb2dfe0d5be8f79c274fb069a3dce100742a Mon Sep 17 00:00:00 2001 From: Tao Yang Date: Wed, 18 Sep 2019 20:22:08 +0800 Subject: [PATCH] Add missing parameter Change-Id: I90554be09931a3bf0b8ef34b893fbd5078cbabe3 --- nova/virt/libvirt/volume/remotefs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nova/virt/libvirt/volume/remotefs.py b/nova/virt/libvirt/volume/remotefs.py index ac82ff7540..6fc2cb4143 100644 --- a/nova/virt/libvirt/volume/remotefs.py +++ b/nova/virt/libvirt/volume/remotefs.py @@ -155,7 +155,7 @@ class RemoteFilesystemDriver(object): """ @abc.abstractmethod - def copy_file(self, src, dst, on_execute, on_completion): + def copy_file(self, src, dst, on_execute, on_completion, compression): """Copy file to/from remote host. Remote address must be specified in format: @@ -167,6 +167,8 @@ class RemoteFilesystemDriver(object): :param dst: Destination path :param on_execute: Callback method to store pid of process in cache :param on_completion: Callback method to remove pid of process from + :param compression: If true, compress files when copying; drivers may + ignore this if compression is not supported """