Interpolate container name into error message

In the event failed to start, the container name was not being properly
interpolated into the error message.
This commit is contained in:
Ian Cordasco 2015-05-08 21:18:59 -05:00
parent 19b345932a
commit deb11be684

View file

@ -794,7 +794,7 @@ class LxcContainerManagement(object):
rc=1, rc=1,
msg='The container [ %s ] failed to start. Check to lxc is' msg='The container [ %s ] failed to start. Check to lxc is'
' available and that the container is in a functional' ' available and that the container is in a functional'
' state.' ' state.' % self.container_name
) )
def _check_archive(self): def _check_archive(self):