Fix a formatting bug (missing %s)

Change-Id: I7b8e643680dd91c96b40a2c759173846cfa7bfa6
Partial-Bug: 1366249
This commit is contained in:
Weidong Shao 2014-09-06 03:06:06 +00:00
parent 02e6fe4bf9
commit c7586ac86e

View File

@ -251,7 +251,7 @@ def validate_host(session, host):
mgmt_interface_set = True
if not mgmt_interface_set:
raise exception.InvalidParameter(
'host has no mgmt interface' % host.name
'host %s has no mgmt interface' % host.name
)