Skip to content

Commit

Permalink
Fix flytepropeller's getAdminClient
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Grätz <[email protected]>
  • Loading branch information
Fabio Grätz committed Oct 11, 2023
1 parent 5b7a8ed commit d2013e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytepropeller/pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func getAdminClient(ctx context.Context) (client service.AdminServiceClient, sig

credentialsFuture := admin.NewPerRPCCredentialsFuture()
opts := []grpc.DialOption{
grpc.WithChainUnaryInterceptor(admin.NewAuthInterceptor(cfg, nil, credentialsFuture)),
grpc.WithChainUnaryInterceptor(admin.NewAuthInterceptor(cfg, nil, credentialsFuture, nil)),

Check warning on line 318 in flytepropeller/pkg/controller/controller.go

View check run for this annotation

Codecov / codecov/patch

flytepropeller/pkg/controller/controller.go#L318

Added line #L318 was not covered by tests
grpc.WithPerRPCCredentials(credentialsFuture),
}

Expand Down

0 comments on commit d2013e9

Please sign in to comment.