Fix typo in CephInstance path

This commit is contained in:
Joshua Boniface 2021-06-10 00:36:02 -04:00
parent f030ed974c
commit e7d60260a0
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ class CephSnapshotInstance(object):
self.name = name
self.stats = dict()
@self.zkhandler.zk_conn.DataWatch(self.zkhandler.schema.path('snapsho.stats', f'{self.pool}/{self.volume}/{self.name}'))
@self.zkhandler.zk_conn.DataWatch(self.zkhandler.schema.path('snapshot.stats', f'{self.pool}/{self.volume}/{self.name}'))
def watch_snapshot_stats(data, stat, event=''):
if event and event.type == 'DELETED':
# The key has been deleted after existing before; terminate this watcher