File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ namespace NKikimr::NHttpProxy {
488
488
}
489
489
CloudId = cloudIdAndResourceId.first ;
490
490
HttpContext.ResourceId = ResourceId = cloudIdAndResourceId.second ;
491
- HttpContext.ResponseData .YmqIsFifo = queueUrl. EndsWith ( " .fifo" );
491
+ HttpContext.ResponseData .YmqIsFifo = AsciiHasSuffixIgnoreCase (queueUrl, " .fifo" );
492
492
}
493
493
} catch (const NKikimr::NSQS::TSQSException& e) {
494
494
NYds::EErrorCodes issueCode = NYds::EErrorCodes::OK;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ TQueueAttributes TQueueAttributes::FromAttributesAndConfig(const THashMap<TStrin
66
66
} else if (config.GetEnableDeadLetterQueues () && name == " RedrivePolicy" ) {
67
67
result.RedrivePolicy = TRedrivePolicy::FromJson (value, config);
68
68
if (result.RedrivePolicy .IsValid ()) {
69
- if (*result.RedrivePolicy .TargetQueueName && isFifoQueue != result.RedrivePolicy .TargetQueueName -> EndsWith ( " .fifo" )) {
69
+ if (*result.RedrivePolicy .TargetQueueName && isFifoQueue != AsciiHasSuffixIgnoreCase ( result.RedrivePolicy .TargetQueueName , " .fifo" )) {
70
70
result.ErrorText = " Target dead letter queue should have the same type as source queue." ;
71
71
} else {
72
72
continue ;
You can’t perform that action at this time.
0 commit comments