nfs and cifs: implement backup notes helper
reuse the one from DirPlugin by directing the call to it, but with the actual $class. This should stay stable, as we provide an ABI and try to always use $class->helpers. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -284,4 +284,13 @@ sub check_connection {
|
||||
return 1;
|
||||
}
|
||||
|
||||
sub get_volume_notes {
|
||||
my $class = shift;
|
||||
PVE::Storage::DirPlugin::get_volume_notes($class, @_);
|
||||
}
|
||||
sub update_volume_notes {
|
||||
my $class = shift;
|
||||
PVE::Storage::DirPlugin::update_volume_notes($class, @_);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
@ -171,4 +171,13 @@ sub check_connection {
|
||||
return 1;
|
||||
}
|
||||
|
||||
sub get_volume_notes {
|
||||
my $class = shift;
|
||||
PVE::Storage::DirPlugin::get_volume_notes($class, @_);
|
||||
}
|
||||
sub update_volume_notes {
|
||||
my $class = shift;
|
||||
PVE::Storage::DirPlugin::update_volume_notes($class, @_);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user