]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd/managed_lock/test_mock_BreakRequest.cc: blacklist -> blocklist
authorNeha Ojha <nojha@redhat.com>
Tue, 28 Jul 2020 14:37:51 +0000 (14:37 +0000)
committerNeha Ojha <nojha@redhat.com>
Mon, 24 Aug 2020 19:53:08 +0000 (19:53 +0000)
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/test/librbd/managed_lock/test_mock_BreakRequest.cc

index 78653368afa7f6c38da7ebc113badba0f54946e9..96dc1ef516abedd516423d8d5b3a609beac7332d 100644 (file)
@@ -56,9 +56,9 @@ GetLockerRequest<librbd::MockTestImageCtx> *GetLockerRequest<librbd::MockTestIma
 // template definitions
 #include "librbd/managed_lock/BreakRequest.cc"
 
-MATCHER(IsBlacklistCommand, "") {
+MATCHER(IsBlocklistCommand, "") {
   return (arg.size() == 1 &&
-          arg[0].find("\"blacklistop\": \"add\"") != std::string::npos);
+          arg[0].find("\"blocklistop\": \"add\"") != std::string::npos);
 }
 
 namespace librbd {