Remove logs from schema validation

These are managed entirely by the logging subsystem not by the schema
handler due to catch-22's.
This commit is contained in:
Joshua Boniface 2021-07-20 00:00:37 -04:00
parent fa1d93e933
commit 45f23c12ea
1 changed files with 2 additions and 2 deletions

View File

@ -777,7 +777,7 @@ class ZKSchema(object):
logger.out(f'Key not found: {self.path(kpath)}', state='w')
result = False
for elem in ['logs', 'node', 'domain', 'network', 'osd', 'pool']:
for elem in ['node', 'domain', 'network', 'osd', 'pool']:
# First read all the subelements of the key class
for child in zkhandler.zk_conn.get_children(self.path(f'base.{elem}')):
# For each key in the schema for that particular elem
@ -856,7 +856,7 @@ class ZKSchema(object):
data = ''
zkhandler.zk_conn.create(self.path(kpath), data.encode(zkhandler.encoding))
for elem in ['logs', 'node', 'domain', 'network', 'osd', 'pool']:
for elem in ['node', 'domain', 'network', 'osd', 'pool']:
# First read all the subelements of the key class
for child in zkhandler.zk_conn.get_children(self.path(f'base.{elem}')):
# For each key in the schema for that particular elem