Remove unused pve-storage-monhost format
This commit is contained in:
committed by
Fabian Grünbichler
parent
e858048fc5
commit
e6ccfdeb21
@ -232,18 +232,6 @@ sub rbd_volume_info {
|
|||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
PVE::JSONSchema::register_format('pve-storage-monhost', \&parse_monhost);
|
|
||||||
sub parse_monhost {
|
|
||||||
my ($name, $noerr) = @_;
|
|
||||||
|
|
||||||
if ($name !~ m/^[a-z][a-z0-9\-\_\.]*[a-z0-9]$/i) {
|
|
||||||
return undef if $noerr;
|
|
||||||
die "lvm name '$name' contains illegal characters\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
return $name;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub type {
|
sub type {
|
||||||
return 'rbd';
|
return 'rbd';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user