Skip to content

Commit

Permalink
bug fix: Fix log error message when kimchi can not create default pool
Browse files Browse the repository at this point in the history
The error message had a formatting mask (%s) but it was not being filled up.
Fix it.

Signed-off-by: Aline Manera <alinefm@br.ibm.com>
  • Loading branch information
alinefm authored and Adam Litke committed Oct 1, 2013
1 parent c20106f commit 59efe0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kimchi/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ def _default_pool_check(self):
except OperationFailed as e:
# path used by other pool or other reasons of failure, exit
cherrypy.log.error(
"Fatal: Cannot create default because of %s, exit kimchid",
e.message,
"Fatal: Cannot create default pool because of %s, exit kimchid" % e.message,
severity=logging.ERROR)
sys.exit(1)

Expand Down

0 comments on commit 59efe0c

Please sign in to comment.