]> git.proxmox.com Git - pve-common.git/commitdiff
cleanup: full path package references to self
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 18 Mar 2016 10:38:23 +0000 (11:38 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 21 Mar 2016 07:08:40 +0000 (08:08 +0100)
This started happening when moving the 'pve-storage-id'
option from pve-storage and curously kept on going since
then...

src/PVE/JSONSchema.pm

index f9b7a5adfa4da968523a473cda890123761dc43b..8cb07e12c5d7520fd8b4fb1a92e2cda5b2c0ce25 100644 (file)
@@ -71,19 +71,19 @@ register_standard_option('pve-iface', {
     minLength => 2, maxLength => 20,
 });
 
     minLength => 2, maxLength => 20,
 });
 
-PVE::JSONSchema::register_standard_option('pve-storage-id', {
+register_standard_option('pve-storage-id', {
     description => "The storage identifier.",
     type => 'string', format => 'pve-storage-id',
 }); 
 
     description => "The storage identifier.",
     type => 'string', format => 'pve-storage-id',
 }); 
 
-PVE::JSONSchema::register_standard_option('pve-config-digest', {
+register_standard_option('pve-config-digest', {
     description => 'Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.',
     type => 'string',
     optional => 1,
     maxLength => 40, # sha1 hex digest lenght is 40
 });
 
     description => 'Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.',
     type => 'string',
     optional => 1,
     maxLength => 40, # sha1 hex digest lenght is 40
 });
 
-PVE::JSONSchema::register_standard_option('extra-args', {
+register_standard_option('extra-args', {
     description => "Extra arguments as array",
     type => 'array',
     items => { type => 'string' },
     description => "Extra arguments as array",
     type => 'array',
     items => { type => 'string' },