mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 23:46:58 +00:00
add missing '-' to service name pattern
since ids can contain '-', we have to include them in the pattern for the service names Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> (cherry picked from commit 38e20dad713db1024eb91fb9a1becd07f9c940df)
This commit is contained in:
parent
b6ccf28a9b
commit
a898d93362
@ -1205,7 +1205,7 @@ __PACKAGE__->register_method ({
|
||||
description => 'Ceph service name.',
|
||||
type => 'string',
|
||||
optional => 1,
|
||||
pattern => '(mon|mds|osd|mgr)\.[A-Za-z0-9]{1,32}',
|
||||
pattern => '(mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -1255,7 +1255,7 @@ __PACKAGE__->register_method ({
|
||||
description => 'Ceph service name.',
|
||||
type => 'string',
|
||||
optional => 1,
|
||||
pattern => '(mon|mds|osd|mgr)\.[A-Za-z0-9]{1,32}',
|
||||
pattern => '(mon|mds|osd|mgr)\.[A-Za-z0-9\-]{1,32}',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user