[admin_api] Fix for bad error message
Show the device name instead of its id when there is no LB attached Change-Id: I0437c2594f1a1da3d72e26334c226169900d4f6f
This commit is contained in:

committed by
David Shrewsbury

parent
e4b2dad8de
commit
ccdcb0e473
@@ -171,7 +171,7 @@ class Stats(object):
|
||||
if not data:
|
||||
self.logger.error(
|
||||
'Device {0} has no Loadbalancer attached'.
|
||||
format(data.id)
|
||||
format(lb)
|
||||
)
|
||||
continue
|
||||
message = (
|
||||
|
Reference in New Issue
Block a user