]> git.proxmox.com Git - pve-manager.git/commitdiff
test: replication: avoid implicit return for volume_snapshot
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 19 Oct 2021 07:54:57 +0000 (09:54 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 9 Nov 2021 10:33:16 +0000 (11:33 +0100)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
test/ReplicationTestEnv.pm

index 005e6d548f1fba33464e0486bd11778ae59fb495..dea1921ba7e2049d1ae7a0775172e9f0b9ebed26 100755 (executable)
@@ -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 {