]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: lifcycle: don't reject compound rules with empty prefix
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 10 Jan 2019 23:05:23 +0000 (18:05 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 15 Jan 2019 16:40:13 +0000 (11:40 -0500)
commitfdc1c255dd765c5ec7d504c0c35a1ee3e3918bf7
tree3c1ff8ea246784f87275426fd5a9cd6c333bf55f
parentfad75f10f4c5f30fae7d809132dc91856df7310b
rgw: lifcycle: don't reject compound rules with empty prefix

A rule containing a tag filter but no constraining prefix is
legal, as is a sequence of >1 such rules.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_lc.cc