Merge pull request #59 from mikem836/env_error_message

Fix uninitialized constant in DefaultCredentials
This commit is contained in:
Tim Emiola 2016-01-08 13:49:01 -08:00
commit 2b63b591ba
1 changed files with 1 additions and 1 deletions

View File

@ -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