Fix boolean assignment for groovy, values should be true/false not True/False
Change-Id: I0624705901ab4a93e0f4c6fb1de954c62a77fe2a
diff --git a/vars/pkill_proc.groovy b/vars/pkill_proc.groovy
index 0166df9..2ac7bde 100644
--- a/vars/pkill_proc.groovy
+++ b/vars/pkill_proc.groovy
@@ -77,18 +77,18 @@
String proc, // name of process or arguments to terminate
Map args=[:],
// Groovy, why special case list comma handling (?)
- Boolean filler=True // groovylint-disable-line UnusedMethodParameter
+ Boolean filler = true // groovylint-disable-line UnusedMethodParameter
) {
String iam = getIam('main')
- Boolean ans = True
+ Boolean ans = true
println("** ${iam}: ENTER")
try {
// Limit process matching by default
if (! mymap.containsKey('command_only')) {
- mymap['command_only'] = True
+ mymap['command_only'] = true
}
process(proc, args)
}