Remove unused pve-storage-monhost format

This commit is contained in:
Wolfgang Bumiller
2016-07-11 13:55:49 +02:00
committed by Fabian Grünbichler
parent e858048fc5
commit e6ccfdeb21

View File

@ -232,18 +232,6 @@ sub rbd_volume_info {
# 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 {
return 'rbd';
}