Because we now always create it, should it not exists and old data is used from the old files.
Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com> --- src/PVE/API2/Storage/Status.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/PVE/API2/Storage/Status.pm b/src/PVE/API2/Storage/Status.pm index ad8c753..94fed9b 100644 --- a/src/PVE/API2/Storage/Status.pm +++ b/src/PVE/API2/Storage/Status.pm @@ -415,10 +415,11 @@ __PACKAGE__->register_method({ code => sub { my ($param) = @_; - my $path = "pve-storage-9.0/$param->{node}/$param->{storage}"; - $path = "pve2-storage/$param->{node}/$param->{storage}" - if !-e "/var/lib/rrdcached/db/${path}"; - return PVE::RRD::create_rrd_data($path, $param->{timeframe}, $param->{cf}); + return PVE::RRD::create_rrd_data( + "pve-storage-9.0/$param->{node}/$param->{storage}", + $param->{timeframe}, + $param->{cf}, + ); }, }); -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel