bitkeeper revision 1.999.1.2 (40d8923aguFPdqjwxtcBjkCDze4bkQ)

Fix shutdown info display.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-06-22 20:10:34 +00:00
1 parent 15bb102195
commit b584956cde
1 file changed
+1 -1
+1 -1
View File
@@ -126,7 +126,7 @@ class XendDomainInfo:
sxpr.append(['state', state])
if self.info['shutdown']:
reasons = ["poweroff", "reboot", "suspend"]
reason = reasons[info['shutdown_reason']]
reason = reasons[self.info['shutdown_reason']]
sxpr.append(['shutdown_reason', reason])
sxpr.append(['cpu', self.info['cpu']])
sxpr.append(['cpu_time', self.info['cpu_time']/1e9])
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.