mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
fix: linting issues with pre-allocation for single provider
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -157,7 +157,7 @@ func legacyGoogleFlagSet() *pflag.FlagSet {
|
||||
}
|
||||
|
||||
func (l *LegacyProvider) convert() (Providers, error) {
|
||||
providers := Providers{}
|
||||
providers := make(Providers, 0, 1)
|
||||
|
||||
provider := Provider{
|
||||
ClientID: l.ClientID,
|
||||
|
||||
Reference in New Issue
Block a user