From the comments of update_service_capabilities, it is said that once publish_service_capabilities was removed, then we can begin the process of its removal.
Now publish_service_capabilities has been removed, so we can remove update_service_capabilities now as no one is calling it
def update_service_capabilities(self, context, service_name,
host, capabilities):
"""Process a capability update from a service node."""
#NOTE(jogo) This is deprecated, but is used by the deprecated
# publish_service_capabilities call. So this can begin its removal
# process once publish_service_capabilities is removed.
if not isinstance(capabilities, list):
capabilities = [capabilities]
for capability in capabilities:
if capability is None:
capability = {}
self.driver.update_service_capabilities(service_name, host,
capability)
Fix proposed to branch: master /review. openstack. org/63659
Review: https:/