[pve-devel] [PATCH manager 1/3] test: replication: avoid implicit return for volume_snapshot

Fabian Ebner f.ebner at proxmox.com
Tue Oct 19 09:54:57 CEST 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 test/ReplicationTestEnv.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/ReplicationTestEnv.pm b/test/ReplicationTestEnv.pm
index 005e6d54..dea1921b 100755
--- a/test/ReplicationTestEnv.pm
+++ b/test/ReplicationTestEnv.pm
@@ -187,6 +187,8 @@ my $mocked_volume_snapshot = sub {
     my $d = $mocked_storage_content->{$storeid}->{$volname};
     die "no such volid '$volid'\n" if !$d;
     $d->{$snap} = 1;
+
+    return;
 };
 
 my $mocked_volume_snapshot_delete = sub {
-- 
2.30.2






More information about the pve-devel mailing list