]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: fix asok return value
authorSage Weil <sage@redhat.com>
Fri, 13 Sep 2019 15:21:35 +0000 (10:21 -0500)
committerSage Weil <sage@redhat.com>
Fri, 4 Oct 2019 14:07:02 +0000 (09:07 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/rgw/services/svc_sys_obj_cache.cc

index bdbb67812aaca72357f7871b07e3e947512f35b7..ea2833134a74bb2f3a956597535d01551498f6d8 100644 (file)
@@ -586,7 +586,7 @@ int RGWSI_SysObj_Cache_ASocketHook::call(
     }
   } else if (command == "cache zap"sv) {
     svc->asocket.call_zap();
-    return true;
+    return 0;
   }
   return -ENOSYS;
 }