Skip to content

Refactor pemfile.Options as the intermediate struct is not needed #8222

Open
@gtcooke94

Description

@gtcooke94

The only reason for using the intermediate struct is to be able to specify a default value for the refresh interval, this could be done with the encoding/json package as follows: https://stackoverflow.com/questions/30445479/how-to-specify-default-values-when-parsing-json-in-go

See https://github.com/grpc/grpc-go/pull/8180/files#r2002089915

Metadata

Metadata

Assignees

Labels

Area: AuthIncludes regular credentials API and implementation. Also includes advancedtls, authz, rbac etc.P2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions