summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2018-01-17 15:20:10 -0500
committerEric Harney <eharney@redhat.com>2018-01-17 15:25:04 -0500
commit2f37a1f502d1f4e67d0bd312cfde10efc2fd8a0d (patch)
tree1941a42294a24d08618fa22df35aa34e400c3298 /devstack
parent4795ef87a87ac75830af97888908b3a9487e7f3b (diff)
Fix Fedora version check
The regex in 84068e was inverted. Change-Id: Ibac88f2f5a2fbd52a3111d87d48352dd6dd813c4
Notes
Notes (review): Code-Review+2: Jon Bernard <jobernar@redhat.com> Workflow+1: Jon Bernard <jobernar@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 18 Jan 2018 15:02:46 +0000 Reviewed-on: https://review.openstack.org/534899 Project: openstack/devstack-plugin-ceph Branch: refs/heads/master
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/ceph2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/lib/ceph b/devstack/lib/ceph
index 666f4dc..8dc28c3 100644
--- a/devstack/lib/ceph
+++ b/devstack/lib/ceph
@@ -268,7 +268,7 @@ function _undefine_virsh_secret {
268 268
269# check_os_support_ceph() - Check if the OS provides a decent version of Ceph 269# check_os_support_ceph() - Check if the OS provides a decent version of Ceph
270function check_os_support_ceph { 270function check_os_support_ceph {
271 if [[ ! ${DISTRO} =~ f[0-9][0-9] ]]; then 271 if [[ ${DISTRO} =~ f[0-9][0-9] ]]; then
272 # Assume all versions of Fedora are fine as of 2018. 272 # Assume all versions of Fedora are fine as of 2018.
273 return 273 return
274 fi 274 fi