summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2018-05-18 06:23:46 -0700
committerRitu Sood <ritu.sood@intel.com>2018-05-18 06:28:25 -0700
commite287acf0381633e726e850dd5439734760042a69 (patch)
tree753ba44e5b3d50e93264159226b00d9e1c0978f6
parentbdb676f3e42b970dd0dbb8a4e58dcaab1018633d (diff)
Add a missing member to class Zone
Solver constraint class Zone location member is missing in Zone class Change-Id: I6eaa0e051695485ff95b284cbf3cd2a535b537df Issue-ID: OPTFRA-238 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
-rwxr-xr-xconductor/conductor/solver/optimizer/constraints/zone.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conductor/conductor/solver/optimizer/constraints/zone.py b/conductor/conductor/solver/optimizer/constraints/zone.py
index d2a5b3c..c95b085 100755
--- a/conductor/conductor/solver/optimizer/constraints/zone.py
+++ b/conductor/conductor/solver/optimizer/constraints/zone.py
@@ -34,6 +34,7 @@ class Zone(Constraint):
self.qualifier = _qualifier # different or same
self.category = _category # disaster, region, or update
+ self.location = _location
self.comparison_operator = None
if self.qualifier == "same":