[pve-devel] r6254 - pve-manager/pve2/lib/PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jul 7 12:25:18 CEST 2011


Author: dietmar
Date: 2011-07-07 12:25:18 +0200 (Thu, 07 Jul 2011)
New Revision: 6254

Modified:
   pve-manager/pve2/lib/PVE/API2/Network.pm
Log:
make parameter optional


Modified: pve-manager/pve2/lib/PVE/API2/Network.pm
===================================================================
--- pve-manager/pve2/lib/PVE/API2/Network.pm	2011-07-07 09:44:55 UTC (rev 6253)
+++ pve-manager/pve2/lib/PVE/API2/Network.pm	2011-07-07 10:25:18 UTC (rev 6254)
@@ -91,6 +91,7 @@
 		description => "Only list specific interface types.",
 		type => 'string',
 		enum => ['bond', 'bridge', 'alias', 'eth'],
+		optional => 1,
 	    },
 	},
     },




More information about the pve-devel mailing list