]> git.proxmox.com Git - pve-storage.git/commitdiff
PVE/API2/Storage/Config.pm - set type in returns schema
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 22 Jun 2018 05:52:51 +0000 (07:52 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 22 Jun 2018 05:52:51 +0000 (07:52 +0200)
PVE/API2/Storage/Config.pm

index 3b38304c801fa664d62d61842f6d763a436fdc1d..258820d0b087b705dd75474e7410acabe6614ebe 100755 (executable)
@@ -103,7 +103,7 @@ __PACKAGE__->register_method ({
            storage => get_standard_option('pve-storage-id'),
        },
     },
-    returns => {},
+    returns => { type => 'object' },
     code => sub {
        my ($param) = @_;