Browse Source

Fix typo leading to false VERIFY (#1220)

Alexander Rutkovsky 1 year ago
parent
commit
2ef3c19b1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ydb/core/blobstorage/nodewarden/group_stat_aggregator.h

+ 1 - 1
ydb/core/blobstorage/nodewarden/group_stat_aggregator.h

@@ -53,7 +53,7 @@ namespace NKikimr {
         Y_ABORT_UNLESS(vdiskServiceId.IsService());
         char x[12];
         TStringBuf serviceId = vdiskServiceId.ServiceId();
-        Y_VERIFY_S(serviceId[0] == 'b' && serviceId[1] == 's' && serviceId[2] == 'v' && serviceId[3] != 'd',
+        Y_VERIFY_S(serviceId[0] == 'b' && serviceId[1] == 's' && serviceId[2] == 'v' && serviceId[3] == 'd',
                 "Invalid VDisk's, HexEncode(ServiceId)# " << HexEncode(serviceId));
         memcpy(x, serviceId.data(), serviceId.size());
         x[0] = 'b';