Skip to content

Commit

Permalink
Merge "Added more testing to compare soft metadata in CLI"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Nov 8, 2018
2 parents efc890a + 1646613 commit 751fc1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions browbeat/elastic.py
Expand Up @@ -464,6 +464,13 @@ def compare_metadata(self, index, role, uuids):
"Host [{}] missing ".format(host))
continue
for service in meta[0][host]:
if service not in meta[1][host].keys():
self.logger.debug(
"UUID {} "
"- Missing Service : "
"Host [{}] Service [{}]".format(
uuids[1], host, service))
continue
for options in meta[0][host][service].keys():
if options not in meta[1][host][service]:
self.logger.debug(
Expand Down

0 comments on commit 751fc1b

Please sign in to comment.