Skip to content

Commit

Permalink
ceph-volume: remove stderr in has_bluestore_label()
Browse files Browse the repository at this point in the history
We don't want to generate this log when a call to
`has_bluestore_label()` fails.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
guits committed Feb 5, 2020
1 parent 148069a commit 7f8371c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ceph-volume/ceph_volume/util/device.py
Expand Up @@ -321,7 +321,7 @@ def is_ceph_disk_member(self):
def has_bluestore_label(self):
out, err, ret = process.call([
'ceph-bluestore-tool', 'show-label',
'--dev', self.abspath])
'--dev', self.abspath], verbose_on_failure=False)
if ret:
return False
return True
Expand Down

0 comments on commit 7f8371c

Please sign in to comment.