[pve-devel] [PATCH] pve-manager: Added format to search value in update_dns method
Damien PIQUET
piqudam at gmail.com
Thu Mar 7 20:38:03 CET 2013
Signed-off-by: Damien PIQUET <piqudam at gmail.com>
---
PVE/API2/Nodes.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index 0dac6af..e5c28e2 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -610,7 +610,7 @@ __PACKAGE__->register_method({
node => get_standard_option('pve-node'),
search => {
description => "Search domain for host-name lookup.",
- type => 'string',
+ type => 'string', format => 'dns-name-list',
},
dns1 => {
description => 'First name server IP address.',
--
1.7.10.4
More information about the pve-devel
mailing list