Ceph: cleanup unused code
Change-Id: I81fa42b57d3ecd80c808ba92fbe5e840cd4b3dc2 Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
parent
9e117ce95b
commit
9b7fac367c
@ -15,11 +15,6 @@ if [[ -z "$MON_IP" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$MON_IP" || -z "$CEPH_PUBLIC_NETWORK" ]]; then
|
||||
log "ERROR- it looks like we have not been able to discover the network settings"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
function get_mon_config {
|
||||
# Get fsid from ceph.conf
|
||||
local fsid=$(ceph-conf --lookup fsid -c /etc/ceph/${CLUSTER}.conf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user