]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: accept config files containing whitespaces
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 8 May 2020 09:08:43 +0000 (09:08 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 28 Oct 2020 09:55:13 +0000 (09:55 +0000)
commitee7cfe916f9859eeb09189e124013bf2789cd44a
tree62b9fcadb0a5902294f2f22363eb88ef89d4b66a
parent70b2504671ab9ae187ab8aaec886843b03556afd
common: accept config files containing whitespaces

At the moment, the ceph config file location cannot contain
whitespaces. This applies to all platforms but is quite an
inconvenient on Windows in particular, where it's very common
to have default paths containing white spaces.

ceph_resolve_file_search expects a list of config files and uses
"get_str_list" to separate them. No delimiter list is explicitly
specified, so the default delimiter list is used, which includes
white space.

This change will explicitly set the delimiters to "," and ";".

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/common/config.cc