]> git.proxmox.com Git - pve-storage.git/commitdiff
fix shared attribute in storage list
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 26 Aug 2011 04:23:24 +0000 (06:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 26 Aug 2011 04:23:24 +0000 (06:23 +0200)
PVE/Storage.pm

index 5fe6c95f1753a15bdc5739a5e21fa90a5ac5f7bf..7ee17c36bcb9f8a3b719986a1dfac8c152869b88 100755 (executable)
@@ -2061,6 +2061,7 @@ sub storage_info {
            total => 0, 
            avail => 0, 
            used => 0, 
+           shared => $ids->{$storeid}->{shared} ? 1 : 0,
            content => content_hash_to_string($ids->{$storeid}->{content}),
            active => 0,
        };