diff options
Diffstat (limited to 'geo-replication/syncdaemon/libgfchangelog.py')
| -rw-r--r-- | geo-replication/syncdaemon/libgfchangelog.py | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/libgfchangelog.py b/geo-replication/syncdaemon/libgfchangelog.py index ac5ff05bdfa..1d580caf6e8 100644 --- a/geo-replication/syncdaemon/libgfchangelog.py +++ b/geo-replication/syncdaemon/libgfchangelog.py @@ -31,6 +31,12 @@ class Changes(object):          return getattr(cls.libgfc, call)      @classmethod +    def cl_init(cls): +        ret = cls._get_api('gf_changelog_init')(None) +        if ret == -1: +            cls.raise_changelog_err() + +    @classmethod      def cl_register(cls, brick, path, log_file, log_level, retries=0):          ret = cls._get_api('gf_changelog_register')(brick, path,                                                      log_file,  | 
