From e3ceaedbd7b111c1e8b28510a4eb11e540d4af77 Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Tue, 3 Mar 2015 16:13:31 +0000 Subject: [PATCH] Fix defaulting of REMOTE_CEPH A typo in lib/ceph was causing REMOTE_CEPH to be defaulted whenever lib/ceph was sourced, regardless of its existing value. The `trueorfalse` function takes a variable name as its second argument, not a value. Change-Id: Iec846e0b892eaa63a0a2a59aa045bc56d5606af1 --- lib/ceph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ceph b/lib/ceph index a6b8cc8b57..251cfd1449 100644 --- a/lib/ceph +++ b/lib/ceph @@ -71,7 +71,7 @@ CEPH_REPLICAS=${CEPH_REPLICAS:-1} CEPH_REPLICAS_SEQ=$(seq ${CEPH_REPLICAS}) # Connect to an existing Ceph cluster -REMOTE_CEPH=$(trueorfalse False $REMOTE_CEPH) +REMOTE_CEPH=$(trueorfalse False REMOTE_CEPH) REMOTE_CEPH_ADMIN_KEY_PATH=${REMOTE_CEPH_ADMIN_KEY_PATH:-$CEPH_CONF_DIR/ceph.client.admin.keyring}