[rabbitmq-discuss] [PATCH 06 of 10] OCF resource agent: fix incorrect parameter type

Florian Haas florian.haas at linbit.com
Tue May 11 18:09:43 BST 2010


# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1273594073 -7200
# Node ID 26aaf9c7bf34750b15b272f4cbf096abaf7acca6
# Parent  2a468e9f5b96c9d31554525c5b00852f0f302487
OCF resource agent: fix incorrect parameter type

Any IP port should be an integer. Fix metadata so GUIs and the CRM
shell report the parameter type correctly.

diff -r 2a468e9f5b96 -r 26aaf9c7bf34 packaging/common/rabbitmq-server.ocf
--- a/packaging/common/rabbitmq-server.ocf	Tue May 11 18:06:46 2010 +0200
+++ b/packaging/common/rabbitmq-server.ocf	Tue May 11 18:07:53 2010 +0200
@@ -114,7 +114,7 @@
 The IP Port for rabbitmq-server to listen on
 </longdesc>
 <shortdesc lang="en">IP Port</shortdesc>
-<content type="string" default="" />
+<content type="integer" default="" />
 </parameter>
 
 <parameter name="cluster_config_file" unique="0" required="0">





More information about the rabbitmq-discuss mailing list