Skip to content

Commit

Permalink
Fix typo leading to false VERIFY (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Jan 23, 2024
1 parent d84a0c9 commit 2ef3c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/blobstorage/nodewarden/group_stat_aggregator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 2ef3c19

Please sign in to comment.