mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
rgw: pubsub: create notif via REST api sets dest bucket
This got lost somewhere in the refactoring work Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
parent
eac1dcf228
commit
fcc8d05d96
@ -311,7 +311,11 @@ public:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
auto psmodule = static_cast<RGWPSSyncModuleInstance *>(store->get_sync_module().get());
|
||||
auto conf = psmodule->get_effective_conf();
|
||||
|
||||
dest.push_endpoint = s->info.args.get("push-endpoint");
|
||||
dest.bucket_name = string(conf["data_bucket_prefix"]) + s->owner.get_id().to_str() + "-" + topic_name;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user