From 1ee709380d293b9b2390818e564c8c562e0f115b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 6 Mar 2020 19:24:32 +0100 Subject: [PATCH] api: storage/content: fix return schema property descriptions a small grammar fix, and we now return ctime of all files, as remaining storages are planned for the future omit this hint completely. Signed-off-by: Thomas Lamprecht --- PVE/API2/Storage/Content.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index 80c9501..63fa4fc 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -76,13 +76,13 @@ __PACKAGE__->register_method ({ }, used => { description => "Used space. Please note that most storage plugins " . - "does not report anything useful here.", + "do not report anything useful here.", type => 'integer', renderer => 'bytes', optional => 1, }, ctime => { - description => "Creation time (Unix epoch). Currently only set for backup volumes.", + description => "Creation time (seconds since the UNIX Epoch).", type => 'integer', minimum => 0, optional => 1,