]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: drop deprecated global var
authorJiaying Ren <jiaying.ren@umcloud.com>
Sun, 18 Jun 2017 04:06:46 +0000 (12:06 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Sun, 18 Jun 2017 04:06:46 +0000 (12:06 +0800)
commita9c1c098b0db415973da39b0b3e34e96f996fe22
tree1018b40a9774edc36e669c97cc5bdd6f3dd9837a
parent59408521a74407ffdb6b5ea9056322c644ad3831
rgw: drop deprecated global var

Each if (cmd == XXX ) {} block that initialize the local var
`RGWBucketInfo bucket_info` explicitly by invoking `init_bucket()`.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_admin.cc