missed a comment

This commit is contained in:
Ryan Kohler 2021-02-01 08:24:39 -08:00
parent 471b94b563
commit 648f0b3d45
1 changed files with 1 additions and 2 deletions

View File

@ -82,8 +82,7 @@ func (c *Config) parse(ctx context.Context) (baseCredentialSource, error) {
ctx: ctx,
}, nil
}
}
if c.CredentialSource.File != "" {
} else if c.CredentialSource.File != "" {
return fileCredentialSource{File: c.CredentialSource.File, Format: c.CredentialSource.Format}, nil
} else if c.CredentialSource.URL != "" {
return urlCredentialSource{URL: c.CredentialSource.URL, Format: c.CredentialSource.Format, ctx: ctx}, nil