Skip to content

Instantly share code, notes, and snippets.

@cbodley
Created August 26, 2019 18:38
Show Gist options
  • Save cbodley/d982b9433ecb5f02b537847cb663b660 to your computer and use it in GitHub Desktop.
Save cbodley/d982b9433ecb5f02b537847cb663b660 to your computer and use it in GitHub Desktop.
diff --git a/src/rgw/rgw_pubsub.h b/src/rgw/rgw_pubsub.h
index d752044aee..94a69d6e35 100644
--- a/src/rgw/rgw_pubsub.h
+++ b/src/rgw/rgw_pubsub.h
@@ -648,7 +648,6 @@ int RGWUserPubSub::write(const rgw_raw_obj& obj, const T& info, RGWObjVersionTra
bufferlist bl;
encode(info, bl);
- auto obj_ctx = store->svc()->sysobj->init_obj_ctx();
int ret = rgw_put_system_obj(obj_ctx, obj.pool, obj.oid,
bl, false, objv_tracker,
real_time());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment