Skip to content

Commit 63de454

Browse files
authored
Removed GetInternalRequestType from IRequestProxyCtx (#2087)
1 parent dd0f522 commit 63de454

File tree

1 file changed

+0
-14
lines changed
  • ydb/core/grpc_services/base

1 file changed

+0
-14
lines changed

ydb/core/grpc_services/base/base.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,6 @@ class IRequestProxyCtx
382382
return NJaegerTracing::TRequestDiscriminator::EMPTY;
383383
};
384384

385-
virtual const TString& GetInternalRequestType() const = 0;
386-
387385
// validation
388386
virtual bool Validate(TString& error) = 0;
389387

@@ -504,10 +502,6 @@ class TRefreshTokenImpl
504502

505503
void StartTracing(NWilson::TSpan&& /*span*/) override {}
506504
void LegacyFinishSpan() override {}
507-
const TString& GetInternalRequestType() const final {
508-
static const TString empty = "";
509-
return empty;
510-
}
511505

512506
void UpdateAuthState(NYdbGrpc::TAuthState::EAuthState state) override {
513507
State_.State = state;
@@ -896,10 +890,6 @@ class TGRpcRequestBiStreamWrapper
896890
Span_.End();
897891
}
898892

899-
const TString& GetInternalRequestType() const final {
900-
return TRequest::descriptor()->full_name();
901-
}
902-
903893
// IRequestCtxBase
904894
//
905895
void AddAuditLogPart(const TStringBuf&, const TString&) override {
@@ -1312,10 +1302,6 @@ class TGRpcRequestWrapperImpl
13121302

13131303
void LegacyFinishSpan() override {}
13141304

1315-
const TString& GetInternalRequestType() const final {
1316-
return TRequest::descriptor()->full_name();
1317-
}
1318-
13191305
void ReplyGrpcError(grpc::StatusCode code, const TString& msg, const TString& details = "") {
13201306
Ctx_->ReplyError(code, msg, details);
13211307
}

0 commit comments

Comments
 (0)