Skip to content

Commit

Permalink
Fix OSS build
Browse files Browse the repository at this point in the history
Reviewed By: malanka

Differential Revision: D65942221

fbshipit-source-id: d205ca259db456c768ea50f9544cae42a0412edf
  • Loading branch information
Josef Svenningsson authored and facebook-github-bot committed Nov 14, 2024
1 parent 1126ee5 commit c780a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glean/server/Glean/Server/Sharding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ shardManagerConfig ::
Observed ServerConfig.Config ->
(SomeShardManager -> IO b) ->
IO b
shardManagerConfig _mbPort catalog smCfgServerConfig callback = do
shardManagerConfig _mbPort _catalog smCfgServerConfig callback = do
config <- Observed.get smCfgServerConfig
case ServerConfig.config_sharding config of
ServerConfig.ShardingPolicy_no_shards {} ->
Expand Down Expand Up @@ -109,7 +109,7 @@ shardManagerConfig _mbPort catalog smCfgServerConfig callback = do
, defaultDomainName = shardManagerPolicy_default_domain_id
}
getMostRecent =
Set.fromList . map itemRepo <$> Catalog.listMostRecent catalog
Set.fromList . map itemRepo <$> Catalog.listMostRecent _catalog

withShardManagerForMostRecent
smCliArgs
Expand Down

0 comments on commit c780a89

Please sign in to comment.