xend: Fix op_domain_sched_credit_set() in SrvDomain.py

This patch adds "cap" into op_domain_sched_credit_set().
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-07-06 14:39:21 +01:00
1 parent 0c80c3b023
commit 4c9048d9dc
1 file changed
+2 -1
+2 -1
View File
@@ -155,7 +155,8 @@ class SrvDomain(SrvDir):
def op_domain_sched_credit_set(self, _, req):
fn = FormFn(self.xd.domain_sched_credit_set,
[['dom', 'int'],
['weight', 'int']])
['weight', 'int'],
['cap', 'int']])
val = fn(req.args, {'dom': self.dom.domid})
return val
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.