Revision ade0e8cd lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
5898 | 5898 |
self.warn.append("Can't get info from primary node %s" % pnode) |
5899 | 5899 |
else: |
5900 | 5900 |
if not instance_info.failed and instance_info.data: |
5901 |
current_mem = instance_info.data['memory']
|
|
5901 |
current_mem = int(instance_info.data['memory'])
|
|
5902 | 5902 |
else: |
5903 | 5903 |
# Assume instance not running |
5904 | 5904 |
# (there is a slight race condition here, but it's not very probable, |
Also available in: Unified diff