]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cls_hello: fix typo 32976/head
authorSage Weil <sage@redhat.com>
Wed, 29 Jan 2020 23:22:36 +0000 (17:22 -0600)
committerSage Weil <sage@redhat.com>
Wed, 29 Jan 2020 23:22:36 +0000 (17:22 -0600)
This was mostly harmless but this makes the warning go away.

Signed-off-by: Sage Weil <sage@redhat.com>
src/cls/hello/cls_hello.cc

index 71546d6858b255f93c95c7b5a70e2671b71aa2f0..9f152ad6373810f6065e89ebf3320b5e57423331 100644 (file)
@@ -345,7 +345,7 @@ CLS_INIT(hello)
   // legacy alias for this method for pre-octopus clients
   cls_register_cxx_method(h_class, "writes_dont_return_data",
                          CLS_METHOD_WR,
-                         write_return_data, &h_write_return_data);
+                         write_return_data, &h_writes_dont_return_data);
   cls_register_cxx_method(h_class, "write_too_much_return_data",
                          CLS_METHOD_WR,
                          write_too_much_return_data, &h_write_too_much_return_data);