]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: allow 'period pull --url' without full multisite config
authorCasey Bodley <cbodley@redhat.com>
Fri, 8 Apr 2016 19:54:27 +0000 (15:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 12 Apr 2016 21:14:50 +0000 (17:14 -0400)
commit70ff086a509964625b6e66e7ef79b0eac1668604
tree165e6d2993610e5695823ce25d96a42a5c4d0c31
parent45219e0e2a713239bee7d28b5da6b0e3f527927b
radosgw-admin: allow 'period pull --url' without full multisite config

to support 'period pull --remote', radosgw-admin needs a complete
multisite configuration to look up remote endpoints by name

however, 'period pull' will also accept a --url argument, which doesn't
require a working configuration. this patch splits the handling of these
two cases, so that 'period pull --url' can succeed when run on a cluster
that hasn't yet been fully configured

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc