* [pve-devel] [PATCH manager] api: backup: correclty use uuid package
@ 2021-11-17 13:52 Dominik Csapak
2021-11-17 14:07 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2021-11-17 13:52 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
PVE/API2/Backup.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/Backup.pm b/PVE/API2/Backup.pm
index 428f4cb3..9bddb4d1 100644
--- a/PVE/API2/Backup.pm
+++ b/PVE/API2/Backup.pm
@@ -195,7 +195,7 @@ __PACKAGE__->register_method({
$param->{enabled} = 1 if !defined($param->{enabled});
# autogenerate id for api compatibility FIXME remove with 8.0
- my $id = extract_param($param, 'id') // uuid();
+ my $id = extract_param($param, 'id') // UUID::uuid();
cfs_lock_file('jobs.cfg', undef, sub {
my $data = cfs_read_file('jobs.cfg');
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH manager] api: backup: correclty use uuid package
2021-11-17 13:52 [pve-devel] [PATCH manager] api: backup: correclty use uuid package Dominik Csapak
@ 2021-11-17 14:07 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-11-17 14:07 UTC (permalink / raw)
To: Proxmox VE development discussion, Dominik Csapak
On 17.11.21 14:52, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
> PVE/API2/Backup.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-17 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 13:52 [pve-devel] [PATCH manager] api: backup: correclty use uuid package Dominik Csapak
2021-11-17 14:07 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox