File tree Expand file tree Collapse file tree
java/hudson/plugins/libvirt
resources/hudson/plugins/libvirt/VirtualMachineSlave Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ public Hypervisor getServer(final String host) {
107107 }
108108
109109 @ POST
110- public FormValidation doCheckStartupWaitingPeriodSeconds (@ QueryParameter String secsValue )
110+ public FormValidation doCheckStartupWaitingPeriodSeconds (@ QueryParameter String value )
111111 throws IOException , ServletException {
112112 Jenkins .get ().checkPermission (Jenkins .ADMINISTER );
113113 try {
114- int v = Integer .parseInt (secsValue );
114+ int v = Integer .parseInt (value );
115115 if (v < 0 ) {
116116 return FormValidation .error ("Negative value.." );
117117 } else if (v == 0 ) {
@@ -126,11 +126,11 @@ public FormValidation doCheckStartupWaitingPeriodSeconds(@QueryParameter String
126126 }
127127
128128 @ POST
129- public FormValidation doCheckStartupTimesToRetryOnFailure (@ QueryParameter String retriesValue )
129+ public FormValidation doCheckStartupTimesToRetryOnFailure (@ QueryParameter String value )
130130 throws IOException , ServletException {
131131 Jenkins .get ().checkPermission (Jenkins .ADMINISTER );
132132 try {
133- int v = Integer .parseInt (retriesValue );
133+ int v = Integer .parseInt (value );
134134 if (v < 0 ) {
135135 return FormValidation .error ("Negative value." );
136136 } else {
Original file line number Diff line number Diff line change 4242 </f : entry >
4343
4444 <f : entry title =" ${%Startup Idle (sec)}" field =" startupWaitingPeriodSeconds" help =" /plugin/libvirt-slave/help-libvirt-waitingperiod.html" >
45- <f : textbox checkMethod =" post" default =" 60" checkUrl =" ' ${rootURL}/plugin/libvirt-slave/checkStartupWaitingPeriodSeconds?secsValue='+this.value " />
45+ <f : textbox checkMethod =" post" default =" 60" checkUrl =" ${rootURL}/plugin/libvirt-slave/checkStartupWaitingPeriodSeconds" checkDependsOn = " " />
4646 </f : entry >
4747
4848 <f : entry title =" ${%Times to Retry Startup}" field =" startupTimesToRetryOnFailure" help =" /plugin/libvirt-slave/help-libvirt-timesToRetryOnFailure.html" >
49- <f : textbox checkMethod =" post" default =" 0" checkUrl =" ' ${rootURL}/plugin/libvirt-slave/checkStartupTimesToRetryOnFailure?retriesValue='+this.value " />
49+ <f : textbox checkMethod =" post" default =" 0" checkUrl =" ${rootURL}/plugin/libvirt-slave/checkStartupTimesToRetryOnFailure" checkDependsOn = " " />
5050 </f : entry >
5151
5252 <f : entry title =" ${%# of executors}" field =" numExecutors" >
You can’t perform that action at this time.
0 commit comments