Revision f0c137f8

View differences:

src/datastore_mad/remotes/ceph/ceph_utils.sh
129 129
    pool=$(echo $1 | cut -f1 -d'/')
130 130
    volume=$(echo $1 | cut -f2 -d'/')
131 131

  
132
    snap0=$($RBD ls -l $pool | awk '{print $1}' | grep -E "$volume(-.+)?@0")
132
    snap0=$($RBD ls $pool | grep -E "$volume(-.+)?@0")
133 133

  
134 134
    if [ -n "$snap0" ]; then
135 135
        volume=$pool/${snap0%%@*}

Also available in: Unified diff