lang: parser, funcs: Change the logical operators to OR, AND, NOT
This makes it easier to read for some, and easier to parse for us. This also frees up more characters to use elsewhere.
This commit is contained in:
@@ -14,7 +14,7 @@ $threshold = 1.5 # change me if you like
|
||||
$h1 = $theload > $threshold
|
||||
$h2 = $theload{1} > $threshold
|
||||
$h3 = $theload{2} > $threshold
|
||||
$unload = $h1 || $h2 || $h3
|
||||
$unload = $h1 or $h2 or $h3
|
||||
|
||||
virt "mgmt1" {
|
||||
uri => "qemu:///session",
|
||||
|
||||
Reference in New Issue
Block a user