Merge "Don't assume RPC push object has an ID"
This commit is contained in:
commit
9f86f9936d
@ -235,7 +235,8 @@ class ResourcesPushRpcApi(object):
|
||||
LOG.debug(
|
||||
"Pushing event %s for resources: %s", event_type,
|
||||
{t: ["ID=%s,revision_number=%s" % (
|
||||
obj.id, getattr(obj, 'revision_number', None))
|
||||
getattr(obj, 'id', None),
|
||||
getattr(obj, 'revision_number', None))
|
||||
for obj in resources_by_type[t]]
|
||||
for t in resources_by_type})
|
||||
for resource_type, type_resources in resources_by_type.items():
|
||||
|
Loading…
Reference in New Issue
Block a user