File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,6 @@ func NewRequestDeps(
262262 lockdownMode bool ,
263263 repoAccessOpts []lockdown.RepoAccessOption ,
264264 t translations.TranslationHelperFunc ,
265- flags FeatureFlags ,
266265 contentWindowSize int ,
267266 featureChecker inventory.FeatureFlagChecker ,
268267) * RequestDeps {
@@ -272,7 +271,6 @@ func NewRequestDeps(
272271 lockdownMode : lockdownMode ,
273272 RepoAccessOpts : repoAccessOpts ,
274273 T : t ,
275- Flags : flags ,
276274 ContentWindowSize : contentWindowSize ,
277275 featureChecker : featureChecker ,
278276 }
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ func (s stubDeps) GetRepoAccessCache(ctx context.Context) (*lockdown.RepoAccessC
5656 return s .repoAccessCache , nil
5757}
5858func (s stubDeps ) GetT () translations.TranslationHelperFunc { return s .t }
59- func (s stubDeps ) GetFlags () FeatureFlags { return s .flags }
59+ func (s stubDeps ) GetFlags (ctx context. Context ) FeatureFlags { return s .flags }
6060func (s stubDeps ) GetContentWindowSize () int { return s .contentWindowSize }
6161func (s stubDeps ) IsFeatureEnabled (_ context.Context , _ string ) bool { return false }
6262
Original file line number Diff line number Diff line change @@ -89,9 +89,6 @@ func RunHTTPServer(cfg HTTPServerConfig) error {
8989 cfg .LockdownMode ,
9090 repoAccessOpts ,
9191 t ,
92- github.FeatureFlags {
93- LockdownMode : cfg .LockdownMode ,
94- },
9592 cfg .ContentWindowSize ,
9693 nil ,
9794 )
You can’t perform that action at this time.
0 commit comments