forked from remote/oauth2
missed a comment
This commit is contained in:
@@ -82,8 +82,7 @@ func (c *Config) parse(ctx context.Context) (baseCredentialSource, error) {
|
|||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
}
|
} else if c.CredentialSource.File != "" {
|
||||||
if c.CredentialSource.File != "" {
|
|
||||||
return fileCredentialSource{File: c.CredentialSource.File, Format: c.CredentialSource.Format}, nil
|
return fileCredentialSource{File: c.CredentialSource.File, Format: c.CredentialSource.Format}, nil
|
||||||
} else if c.CredentialSource.URL != "" {
|
} else if c.CredentialSource.URL != "" {
|
||||||
return urlCredentialSource{URL: c.CredentialSource.URL, Format: c.CredentialSource.Format, ctx: ctx}, nil
|
return urlCredentialSource{URL: c.CredentialSource.URL, Format: c.CredentialSource.Format, ctx: ctx}, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user