aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Rutkovsky <alexvru@ydb.tech>2024-01-23 12:19:31 +0300
committerGitHub <noreply@github.com>2024-01-23 12:19:31 +0300
commit2ef3c19b1aa35977dac10f35bddfc1fc4758f3c1 (patch)
tree95c5d0d485018ecf2ed70e9fb8324ebc40724a85
parentd84a0c97634b4327679ecf19eb9281464dcd7a06 (diff)
downloadydb-2ef3c19b1aa35977dac10f35bddfc1fc4758f3c1.tar.gz
Fix typo leading to false VERIFY (#1220)
-rw-r--r--ydb/core/blobstorage/nodewarden/group_stat_aggregator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/blobstorage/nodewarden/group_stat_aggregator.h b/ydb/core/blobstorage/nodewarden/group_stat_aggregator.h
index dd30c16309..dd2339e373 100644
--- a/ydb/core/blobstorage/nodewarden/group_stat_aggregator.h
+++ b/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';