Beispiel #1
0
 def stat_ceph_conf(self):
     try:
         configuration.load(conf.path)
         return terminal.green(conf.path)
     except exceptions.ConfigurationError as error:
         return terminal.red(error)
Beispiel #2
0
 def stat_ceph_conf(self):
     try:
         configuration.load(conf.path)
         return terminal.green(conf.path)
     except exceptions.ConfigurationError as error:
         return terminal.red(error)