diff options
Diffstat (limited to 'modules/ri-base/src/main/resources')
-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); |