]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph: do not throw TypeError on connection failure 13268/head
authorKefu Chai <kchai@redhat.com>
Mon, 6 Feb 2017 08:22:42 +0000 (16:22 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 6 Feb 2017 08:30:36 +0000 (16:30 +0800)
commitd832c0ed5687e269d3da9d5386e1015f08cd8207
tree80cd5e28fa95fbff07692085019d3e0d30223e0c
parent21cdcfcc660fc39e272d1bbdf9f367f6d5d17e4d
ceph: do not throw TypeError on connection failure

otherwise we could concat None with a string on connection problem.
which will result in TypeError. and the caller will print misleading
error like

Error connecting to cluster: TypeError

see also #12934

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/ceph.in