Fix console log

Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
Chuck Short 2015-02-02 10:14:11 -05:00
parent 02a3f0e322
commit 618b0b9c6d
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Container(object):
def get_console_log(self, instance):
console_log = os.path.join(CONF.lxd.lxd_root_dir,
instance['uuid'],
'console.log')
'container.console')
with open(console_log, 'rb') as fp:
log_data, remaining = utils.last_bytes(fp, MAX_CONSOLE_BYTES)
if remaining > 0: