fix: linting issues with pre-allocation for single provider
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
parent
da14399e03
commit
d0dfb9bdbb
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue