From 1e96ffc954576bc4a2e84e604d3900318f78472f Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Wed, 21 Jul 2021 14:51:55 +0200 Subject: [PATCH] status: add enum for file upload content type the addition of this enum does not change API behaviour, because it is checked for 'iso' or 'vztmpl' aftwerwards anyway. Signed-off-by: Lorenz Stechauner --- PVE/API2/Storage/Status.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index 72fd851..1d87304 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -378,6 +378,7 @@ __PACKAGE__->register_method ({ content => { description => "Content type.", type => 'string', format => 'pve-storage-content', + enum => ['iso', 'vztmpl'], }, filename => { description => "The name of the file to create.",