Skip to content

Commit

Permalink
multidefine do_updatae_stat and do_update
Browse files Browse the repository at this point in the history
I'm sure it is a misstake
  • Loading branch information
wangchuan2008888 authored and joergsteffens committed Mar 13, 2017
1 parent d3a44f0 commit 0df41ab
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bareos/fuse/node/pool.py
Expand Up @@ -16,16 +16,6 @@ def __init__(self, root, name, pool):
def get_id(cls, name, pool):
return name

def do_update_stat(self):
data = self.bsock.call("llist pools count" % (self.selector))
self.subnode_count = int(data['pools'][0]['count'])

def do_update(self):
data = self.bsock.call("llist pools")
pools = data['pools']
for i in pools:
self.add_subnode(Pool, i['name'])

def do_update_stat(self):
self.subnode_count = 2

Expand Down

0 comments on commit 0df41ab

Please sign in to comment.