diff --git a/daemon-common/zkhandler.py b/daemon-common/zkhandler.py index 3f8257bb..359466b4 100644 --- a/daemon-common/zkhandler.py +++ b/daemon-common/zkhandler.py @@ -551,6 +551,8 @@ class ZKSchema(object): else: base_path = self.schema.get('base').get(itype) sub_path = self.schema.get(itype).get('.'.join(ipath)) + if sub_path is None: + sub_path = '' return f'{base_path}/{item}{sub_path}' # Get keys of a schema location