lib/elasticity/aws_request.rb in elasticity-2.4 vs lib/elasticity/aws_request.rb in elasticity-2.5
- old
+ new
@@ -48,10 +48,10 @@
end
def get_secret_key(secret)
return secret if secret
return ENV['AWS_SECRET_ACCESS_KEY'] if ENV['AWS_SECRET_ACCESS_KEY']
- raise MissingKeyError, 'Please provide a secret key or set AWS_ACCESS_KEY_ID.'
+ raise MissingKeyError, 'Please provide a secret key or set AWS_SECRET_ACCESS_KEY.'
end
# (Used from RightScale's right_aws gem.)
# EC2, SQS, SDB and EMR requests must be signed by this guy.
# See: http://docs.amazonwebservices.com/AmazonSimpleDB/2007-11-07/DeveloperGuide/index.html?REST_RESTAuth.html