[pve-devel] [PATCH manager 2/2] api: tasks: fix return type of 'starttime'
Dominik Csapak
d.csapak at proxmox.com
Fri Oct 25 16:15:11 CEST 2024
starttime is parsed from a upid with perls `hex` which always returns an
integer
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/API2/Tasks.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/Tasks.pm b/PVE/API2/Tasks.pm
index 4ea9832b..ae60d846 100644
--- a/PVE/API2/Tasks.pm
+++ b/PVE/API2/Tasks.pm
@@ -480,7 +480,7 @@ __PACKAGE__->register_method({
type => 'string',
},
starttime => {
- type => 'number',
+ type => 'integer',
},
pstart => {
type => 'integer',
--
2.39.5
More information about the pve-devel
mailing list