plugin: hooks: avoid that method param count gets returned

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-11-23 15:12:46 +01:00
parent 3893d2755e
commit afeda18256

View File

@ -419,6 +419,7 @@ sub on_add_hook {
my ($class, $storeid, $scfg, %param) = @_;
# do nothing by default
return undef;
}
# called during storage configuration update (before the updated storage config got written)
@ -428,6 +429,7 @@ sub on_update_hook {
my ($class, $storeid, $scfg, %param) = @_;
# do nothing by default
return undef;
}
# called during deletion of storage (before the new storage config got written)
@ -439,6 +441,7 @@ sub on_delete_hook {
my ($class, $storeid, $scfg) = @_;
# do nothing by default
return undef;
}
sub cluster_lock_storage {