Allow dynamic_min/dynamic_max to (temporarily) be out of sync; in practice

we keep them identical but non-atomically.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
Steven Hand committed 2007-04-27 14:45:06 +01:00
1 parent ec2ecedd08
commit b8057a726d
1 file changed
-3
-3
View File
@@ -354,9 +354,6 @@ class XendConfig(dict):
if not self["memory_static_min"] <= self["memory_static_max"]:
raise XendConfigError("memory_static_min must be less " \
"than or equal to memory_static_max")
if not self["memory_dynamic_min"] <= self["memory_dynamic_max"]:
raise XendConfigError("memory_dynamic_min must be less " \
"than or equal to memory_dynamic_max")
if not self["memory_static_min"] <= self["memory_dynamic_min"]:
raise XendConfigError("memory_static_min must be less " \
"than or equal to memory_dynamic_min")
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.