]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd_mirror/image_replayer/CreateImageRequest.h
update sources to v12.1.3
[ceph.git] / ceph / src / tools / rbd_mirror / image_replayer / CreateImageRequest.h
index 683a6d9a2cf96d6dfd0c2690b4071df1b817e17d..b45deb66770cd4fd1e22ca0d9615b579fb36678e 100644 (file)
@@ -26,20 +26,20 @@ public:
                                     const std::string &global_image_id,
                                     const std::string &remote_mirror_uuid,
                                     const std::string &local_image_name,
+                                   const std::string &local_image_id,
                                     ImageCtxT *remote_image_ctx,
-                                   std::string *local_image_id,
                                     Context *on_finish) {
     return new CreateImageRequest(local_io_ctx, work_queue, global_image_id,
                                   remote_mirror_uuid, local_image_name,
-                                  remote_image_ctx, local_image_id, on_finish);
+                                  local_image_id, remote_image_ctx, on_finish);
   }
 
   CreateImageRequest(librados::IoCtx &local_io_ctx, ContextWQ *work_queue,
                      const std::string &global_image_id,
                      const std::string &remote_mirror_uuid,
                      const std::string &local_image_name,
+                    const std::string &local_image_id,
                      ImageCtxT *remote_image_ctx,
-                    std::string *local_image_id,
                      Context *on_finish);
 
   void send();
@@ -86,8 +86,8 @@ private:
   std::string m_global_image_id;
   std::string m_remote_mirror_uuid;
   std::string m_local_image_name;
+  std::string m_local_image_id;
   ImageCtxT *m_remote_image_ctx;
-  std::string *m_local_image_id;
   Context *m_on_finish;
 
   librados::IoCtx m_remote_parent_io_ctx;