From 5607fbe58d31ea10472bb5f778beb8e6516f296d Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file perl-xCAT/xCAT/CIMUtils.pm --- perl-xCAT/xCAT/CIMUtils.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/perl-xCAT/xCAT/CIMUtils.pm b/perl-xCAT/xCAT/CIMUtils.pm index d13a2e93a..749d81ec0 100644 --- a/perl-xCAT/xCAT/CIMUtils.pm +++ b/perl-xCAT/xCAT/CIMUtils.pm @@ -19,13 +19,13 @@ use Data::Dumper; A hash which includes all the parameters for accessing HTTP server. The valid parameter: ip: The IP address of the HTTP server - user: The user to access HTTP server. - password: The password for the user. + user: The user to access HTTP server. + password: The password for the user. method: The http method. (GET, PUT, POST, DELETE). Default is GET protocol: The protocol which will be used to access HTTP server. (http/https). Default is https format: The format of payload. Default is xml payload: The payload of http - + Example: my %http_params = ( ip => '192.168.1.1', port => '5989', @@ -33,7 +33,7 @@ use Data::Dumper; password => 'admin', method => 'POST', protocol => 'https'); - + =cut =head1 enum_instance () @@ -50,7 +50,7 @@ use Data::Dumper; rc - The return code. 0 - success. > 0 - fail. cim_rc - The return code from CIM server. msg - Output message. - + 2 - Array of instances, each instance is a hash contains lots of properties. 3 - The name path of instance @@ -337,14 +337,14 @@ sub set_property Description: Generate a http request. - Arguments: + Arguments: http_params: A reference to HTTP_PARAMS payload: The payload for the http request. It can be null if the payload has been set in http_params. Return: A hash reference. The valid key includes: rc - The return code. 0 - success. > 0 - fail. - msg - Output message + msg - Output message request - The generated HTTP::Request object =cut