Merge pull request #59 from mikem836/env_error_message
Fix uninitialized constant in DefaultCredentials
This commit is contained in:
commit
2b63b591ba
|
@ -70,7 +70,7 @@ END
|
|||
def self.read_creds
|
||||
env_var = CredentialsLoader::ACCOUNT_TYPE_VAR
|
||||
type = ENV[env_var]
|
||||
fail "#{ACCOUNT_TYPE_VAR} is undefined in env" unless type
|
||||
fail "#{env_var} is undefined in env" unless type
|
||||
case type
|
||||
when 'service_account'
|
||||
ServiceAccountCredentials
|
||||
|
|
Loading…
Reference in New Issue