From 1ce3fa3bc16d40c570e15ffc46a61a4241f88cf2 Mon Sep 17 00:00:00 2001 From: Wolfgang Link Date: Wed, 21 Nov 2018 17:05:34 +0100 Subject: [PATCH] Add parameter storage shared So we know in the content call if storage is shared. This is used by removeImageButton. --- PVE/API2Tools.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm index 7b4c425a..7527b42b 100644 --- a/PVE/API2Tools.pm +++ b/PVE/API2Tools.pm @@ -120,6 +120,7 @@ sub extract_storage_stats { node => $node, type => 'storage', status => 'unknown', + shared => $scfg->{shared} || 0, }; if (my $d = $rrd->{"pve2-storage/$node/$storeid"}) {