Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- PVE/API2/Ceph.pm | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index e7df80a2..7aee4b66 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -805,6 +805,16 @@ my $get_storages = sub { return $res; }; +my $update_storage = sub { + my ($storeid, $monhosts) = @_; + my $params = { + storage => $storeid, + monhost => $monhosts, + }; + + PVE::API2::Storage::Config->update($params); +}; + __PACKAGE__->register_method ({ name => 'listmon', path => 'mon', -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel