We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b06bf3 commit edb45bfCopy full SHA for edb45bf
ydb/core/mind/hive/monitoring.cpp
@@ -4439,7 +4439,7 @@ class TTxMonEvent_OperationsLog : public TTransactionBase<THive> {
4439
4440
bool THive::IsSafeOperation(NMon::TEvRemoteHttpInfo::TPtr& ev, const TActorContext& ctx) {
4441
NMon::TEvRemoteHttpInfo* httpInfo = ev->Get();
4442
- if (httpInfo->Method != HTTP_METHOD_POST) {
+ if (httpInfo->GetMethod() != HTTP_METHOD_POST) {
4443
ctx.Send(ev->Sender, new NMon::TEvRemoteJsonInfoRes("{\"error\":\"only POST method is allowed\"}"));
4444
return false;
4445
}
0 commit comments