diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-05 10:59:15 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-02-05 10:59:15 +0100 |
commit | 688a4088da952f0b3e3e49b087f9ca8e4541c8de (patch) | |
tree | 740bab5a472ca68250cd2e7fd71daae4cd71587d /modules | |
parent | d160783762ec58cdd0be781d7662865379363156 (diff) | |
download | rules-sandbox-688a4088da952f0b3e3e49b087f9ca8e4541c8de.tar.gz rules-sandbox-688a4088da952f0b3e3e49b087f9ca8e4541c8de.tar.bz2 rules-sandbox-688a4088da952f0b3e3e49b087f9ca8e4541c8de.tar.xz rules-sandbox-688a4088da952f0b3e3e49b087f9ca8e4541c8de.zip |
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ri-base/src/main/resources/io/trygvis/rules/dba/dba.drl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ri-base/src/main/resources/io/trygvis/rules/dba/dba.drl b/modules/ri-base/src/main/resources/io/trygvis/rules/dba/dba.drl index f1a1da2..e487222 100644 --- a/modules/ri-base/src/main/resources/io/trygvis/rules/dba/dba.drl +++ b/modules/ri-base/src/main/resources/io/trygvis/rules/dba/dba.drl @@ -20,7 +20,7 @@ end rule "Assign containers to machine" when - $machineRole : DbaMachineRole(machine) + $machineRole : DbaMachineRole(machine != null) $container : Container(machine == null, $machineRole.roles contains machineRole) then System.out.println("Assigning container " + $container.cluster.name + "/" + $container.name + " to machine: " + $machineRole.machine.name); |