Merge "Avoid logging uuid on loading object attribute"

This commit is contained in:
Zuul 2019-03-11 02:26:08 +00:00 committed by Gerrit Code Review
commit 515147a0d2
1 changed files with 1 additions and 2 deletions

View File

@ -264,10 +264,9 @@ class VolumeMapping(base.ZunPersistentObject, base.ZunObject):
raise exception.OrphanedObjectError(method='obj_load_attr',
objtype=self.obj_name())
LOG.debug("Lazy-loading '%(attr)s' on %(name)s uuid %(uuid)s",
LOG.debug("Lazy-loading '%(attr)s' on %(name)s",
{'attr': attrname,
'name': self.obj_name(),
'uuid': self.uuid,
})
if attrname in VOLUME_ATTRS: