vhost-info: fix the indentation after adding 4 spaces.
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
ea3b536786
commit
4bba45fd49
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ class OutputCallback(CallbackBase):
|
||||||
mem_used += int(result._result[vm]['memory'])/1024
|
mem_used += int(result._result[vm]['memory'])/1024
|
||||||
cpu_used += int(result._result[vm]['nrVirtCpu'])
|
cpu_used += int(result._result[vm]['nrVirtCpu'])
|
||||||
|
|
||||||
self.mem_used_in_vm[vhostname]=mem_used
|
self.mem_used_in_vm[vhostname]=mem_used
|
||||||
self.cpu_used_in_vm[vhostname]=cpu_used
|
self.cpu_used_in_vm[vhostname]=cpu_used
|
||||||
|
|
||||||
parser = OptionParser(version = "1.0")
|
parser = OptionParser(version = "1.0")
|
||||||
parser.add_option('--host', default=[], action='append', help="hosts to act on, defaults to virtservers")
|
parser.add_option('--host', default=[], action='append', help="hosts to act on, defaults to virtservers")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue