Skip to content

Commit

Permalink
ceph-disk: remove noop try:
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Dachary <loic@dachary.org>
  • Loading branch information
Loic Dachary committed Jan 3, 2014
1 parent b82ccfb commit de00505
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ceph-disk
Expand Up @@ -1719,7 +1719,6 @@ def activate(
init,
):

try:
check_osd_magic(path)

ceph_fsid = read_one_line(path, 'ceph_fsid')
Expand Down Expand Up @@ -1798,9 +1797,6 @@ def activate(
write_one_line(path, 'active', 'ok')
LOG.debug('%s osd.%s data dir is ready at %s', cluster, osd_id, path)
return (osd_id, cluster)
except:
raise



def main_activate(args):
Expand Down

0 comments on commit de00505

Please sign in to comment.