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 9bdc6d2 commit e71349bCopy full SHA for e71349b
ydb/core/mind/hive/monitoring.cpp
@@ -4484,7 +4484,7 @@ class TTxMonEvent_OperationsLog : public TTransactionBase<THive> {
4484
4485
bool THive::IsSafeOperation(NMon::TEvRemoteHttpInfo::TPtr& ev, const TActorContext& ctx) {
4486
NMon::TEvRemoteHttpInfo* httpInfo = ev->Get();
4487
- if (httpInfo->Method != HTTP_METHOD_POST) {
+ if (httpInfo->GetMethod() != HTTP_METHOD_POST) {
4488
ctx.Send(ev->Sender, new NMon::TEvRemoteJsonInfoRes("{\"error\":\"only POST method is allowed\"}"));
4489
return false;
4490
}
0 commit comments