Skip to content

Commit

Permalink
fix: ut
Browse files Browse the repository at this point in the history
Signed-off-by: chyezh <[email protected]>
  • Loading branch information
chyezh committed Jan 6, 2025
1 parent 874278c commit bc5f16a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/coordinator/coordclient/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ func GetRootCoordClient(ctx context.Context) types.RootCoordClient {
// MustGetLocalRootCoordClientFuture return root coord client future,
// panic if root coord client is not enabled
func MustGetLocalRootCoordClientFuture() *syncutil.Future[types.RootCoordClient] {
if !enableLocal.EnableRootCoord {
panic("root coord client is not enabled")
}
return glocalClient.rootCoordClient
}

Expand Down

0 comments on commit bc5f16a

Please sign in to comment.