Remove keyword from call to xc.domain_setmaxmem; keyword support for this call

was removed with changeset 7955:f72da8799418.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-27 01:28:11 +00:00
1 parent da898dfd4e
commit fd3a649380
1 file changed
+1 -2
+1 -2
View File
@@ -480,8 +480,7 @@ class XendDomain:
dominfo = self.domain_lookup(domid)
maxmem = int(mem) * 1024
try:
return xc.domain_setmaxmem(dominfo.getDomid(),
maxmem_kb = maxmem)
return xc.domain_setmaxmem(dominfo.getDomid(), maxmem)
except Exception, ex:
raise XendError(str(ex))
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.