File tree 2 files changed +3
-2
lines changed
2 files changed +3
-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 2
2
#include " queue_attributes.h"
3
3
4
4
#include < util/generic/utility.h>
5
+ #include < util/string/ascii.h>
5
6
#include < util/string/cast.h>
6
7
#include < util/string/printf.h>
7
8
@@ -66,7 +67,7 @@ TQueueAttributes TQueueAttributes::FromAttributesAndConfig(const THashMap<TStrin
66
67
} else if (config.GetEnableDeadLetterQueues () && name == " RedrivePolicy" ) {
67
68
result.RedrivePolicy = TRedrivePolicy::FromJson (value, config);
68
69
if (result.RedrivePolicy .IsValid ()) {
69
- if (*result.RedrivePolicy .TargetQueueName && isFifoQueue != result.RedrivePolicy .TargetQueueName -> EndsWith ( " .fifo" )) {
70
+ if (*result.RedrivePolicy .TargetQueueName && isFifoQueue != AsciiHasSuffixIgnoreCase (* result.RedrivePolicy .TargetQueueName , " .fifo" )) {
70
71
result.ErrorText = " Target dead letter queue should have the same type as source queue." ;
71
72
} else {
72
73
continue ;
You can’t perform that action at this time.
0 commit comments