]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc: cmd arg should be const on Objecter::send_command
authorJohn Spray <john.spray@redhat.com>
Sat, 4 Feb 2017 23:31:16 +0000 (23:31 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 9 Mar 2017 13:30:07 +0000 (13:30 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Objecter.h

index 366759acb92c61217ce9126976dbb705c93139b2..b00ed2218187bc64f1e755e41c5d676cbc2837d3 100644 (file)
@@ -2112,7 +2112,7 @@ public:
   epoch_t op_cancel_writes(int r, int64_t pool=-1);
 
   // commands
-  void osd_command(int osd, vector<string>& cmd,
+  void osd_command(int osd, const std::vector<string>& cmd,
                  const bufferlist& inbl, ceph_tid_t *ptid,
                  bufferlist *poutbl, string *prs, Context *onfinish) {
     assert(osd >= 0);