Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit a7814df

Browse files
[Backport 5.3] Revert "Return uninitialized gateway if client is nil" (#60478)
Revert "Return uninitialized gateway if client is nil" (#60475) This reverts commit bc599bb. (cherry picked from commit 5cc3f6e) Co-authored-by: Cezary Bartoszuk <[email protected]>
1 parent 8d9b1ad commit a7814df

File tree

1 file changed

+0
-3
lines changed
  • cmd/frontend/internal/guardrails

1 file changed

+0
-3
lines changed

cmd/frontend/internal/guardrails/init.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ func (e *enterpriseInitialization) Service() attribution.Service {
8383
if e.endpoint == "" || e.token == "" {
8484
return attribution.Uninitialized{}
8585
}
86-
if e.client == nil {
87-
return attribution.Uninitialized{}
88-
}
8986
return attribution.NewGatewayProxy(e.observationCtx, e.client)
9087
}
9188

0 commit comments

Comments
 (0)