On 3/15/19 10:52 AM, Tim Marx wrote:
> As this is now the default behavior in all other ceph api endpoints,
> I adapted the status api correspondingly.
> 
> Signed-off-by: Tim Marx <t.m...@proxmox.com>
> ---
>  PVE/API2/Ceph.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
> index 8304f4d0..47a42f4a 100644
> --- a/PVE/API2/Ceph.pm
> +++ b/PVE/API2/Ceph.pm
> @@ -526,7 +526,7 @@ __PACKAGE__->register_method ({
>      code => sub {
>       my ($param) = @_;
>  
> -     PVE::Ceph::Tools::check_ceph_enabled();
> +     PVE::Ceph::Tools::check_ceph_inited();
>  
>       my $rados = PVE::RADOS->new();
>       my $status = $rados->mon_command({ prefix => 'status' });
> 

applied, thanks! Added slightly to the commit message for future reference.

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to