mirror of
git://git.proxmox.com/git/pve-guest-common.git
synced 2024-12-23 17:34:10 +03:00
PVE::ReplicationConfig - remove useless guest property
We extract it from the jobid instead.
This commit is contained in:
parent
52dcecfcbb
commit
0de175563a
@ -40,7 +40,7 @@ sub parse_replication_job_id {
|
||||
}
|
||||
|
||||
PVE::JSONSchema::register_standard_option('pve-replication-id', {
|
||||
description => "Replication Job ID.",
|
||||
description => "Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. '<GUEST>-<JOBNUM>'.",
|
||||
type => 'string', format => 'pve-replication-job-id',
|
||||
pattern => '[1-9][0-9]{2,8}-\d{1,9}',
|
||||
});
|
||||
@ -66,9 +66,6 @@ my $defaultData = {
|
||||
enum => ['local', 'full'],
|
||||
optional => 1,
|
||||
},
|
||||
guest => get_standard_option('pve-vmid', {
|
||||
optional => 1,
|
||||
completion => \&PVE::Cluster::complete_vmid }),
|
||||
rate => {
|
||||
description => "Rate limit in mbps (megabytes per second) as floating point number.",
|
||||
type => 'number',
|
||||
@ -225,7 +222,6 @@ sub properties {
|
||||
|
||||
sub options {
|
||||
return {
|
||||
guest => { fixed => 1, optional => 0 },
|
||||
target => { fixed => 1, optional => 0 },
|
||||
disable => { optional => 1 },
|
||||
comment => { optional => 1 },
|
||||
|
Loading…
Reference in New Issue
Block a user