Fixed another error in a log message format
This commit is contained in:
parent
7e58576d0c
commit
8b9594f689
@ -592,9 +592,9 @@ def get_cpu_mhz(vir_connection, physical_core_mhz, previous_cpu_time,
|
|||||||
if log.isEnabledFor(logging.DEBUG):
|
if log.isEnabledFor(logging.DEBUG):
|
||||||
log.debug('VM %s: current_cpu_time < cpu_time: ' +
|
log.debug('VM %s: current_cpu_time < cpu_time: ' +
|
||||||
'previous CPU time %d, ' +
|
'previous CPU time %d, ' +
|
||||||
'current CPU time %d, ',
|
'current CPU time %d',
|
||||||
uuid, cpu_time, current_cpu_time)
|
uuid, cpu_time, current_cpu_time)
|
||||||
log.debug('VM %s: using previous CPU MHz %d, ' +
|
log.debug('VM %s: using previous CPU MHz %d',
|
||||||
uuid, previous_cpu_mhz[uuid])
|
uuid, previous_cpu_mhz[uuid])
|
||||||
cpu_mhz[uuid] = previous_cpu_mhz[uuid]
|
cpu_mhz[uuid] = previous_cpu_mhz[uuid]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user