]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: do not make noise about missing devs
authorSage Weil <sage@inktank.com>
Mon, 26 Nov 2012 16:37:45 +0000 (08:37 -0800)
committerSage Weil <sage@inktank.com>
Mon, 26 Nov 2012 16:37:45 +0000 (08:37 -0800)
It is pretty normal not to include the devs line in the ceph.conf.  Do not
print/warn about it.

Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in

index 2bafa995f754a785e1bba77289e5f6475fa3ef19..1c9e0270d5dfbd0538762128c7c280b4f5a4b89f 100644 (file)
@@ -229,8 +229,6 @@ for name in $what; do
            get_conf tmp_btrfs_devs "" "btrfs devs"
            if [ -n "$tmp_btrfs_devs" ]; then
                fs_devs="$tmp_btrfs_devs"
-           else
-               echo No osd devs defined!
            fi
        fi
         first_dev=`echo $fs_devs | cut '-d ' -f 1`