Skip to content

Commit 751fc1b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Added more testing to compare soft metadata in CLI"
2 parents efc890a + 1646613 commit 751fc1b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

browbeat/elastic.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,13 @@ def compare_metadata(self, index, role, uuids):
464464
"Host [{}] missing ".format(host))
465465
continue
466466
for service in meta[0][host]:
467+
if service not in meta[1][host].keys():
468+
self.logger.debug(
469+
"UUID {} "
470+
"- Missing Service : "
471+
"Host [{}] Service [{}]".format(
472+
uuids[1], host, service))
473+
continue
467474
for options in meta[0][host][service].keys():
468475
if options not in meta[1][host][service]:
469476
self.logger.debug(

0 commit comments

Comments
 (0)