mirror of
				https://git.proxmox.com/git/pve-common
				synced 2025-11-04 14:57:32 +00:00 
			
		
		
		
	schema: fixup description vs format_description in remote_format
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
		
							parent
							
								
									f869c96a94
								
							
						
					
					
						commit
						c6ec71d846
					
				@ -685,21 +685,26 @@ register_standard_option('bwlimit', {
 | 
				
			|||||||
my $remote_format = {
 | 
					my $remote_format = {
 | 
				
			||||||
    host => {
 | 
					    host => {
 | 
				
			||||||
	type => 'string',
 | 
						type => 'string',
 | 
				
			||||||
	format_description => 'Remote Proxmox hostname or IP',
 | 
						description => 'Remote Proxmox hostname or IP',
 | 
				
			||||||
 | 
						format_description => 'ADDRESS',
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    port => {
 | 
					    port => {
 | 
				
			||||||
	type => 'integer',
 | 
						type => 'integer',
 | 
				
			||||||
	optional => 1,
 | 
						optional => 1,
 | 
				
			||||||
 | 
						description => 'Port to connect to',
 | 
				
			||||||
 | 
						format_description => 'PORT',
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    apitoken => {
 | 
					    apitoken => {
 | 
				
			||||||
	type => 'string',
 | 
						type => 'string',
 | 
				
			||||||
	format_description => 'A full Proxmox API token including the secret value.',
 | 
						description => 'A full Proxmox API token including the secret value.',
 | 
				
			||||||
 | 
						format_description => 'user@realm!token=SECRET',
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    fingerprint => get_standard_option(
 | 
					    fingerprint => get_standard_option(
 | 
				
			||||||
	'fingerprint-sha256',
 | 
						'fingerprint-sha256',
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
	    optional => 1,
 | 
						    optional => 1,
 | 
				
			||||||
	    format_description => 'Remote host\'s certificate fingerprint, if not trusted by system store.',
 | 
						    description => 'Remote host\'s certificate fingerprint, if not trusted by system store.',
 | 
				
			||||||
 | 
						    format_description => 'FINGERPRINT',
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
    ),
 | 
					    ),
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user