Skip to content

Commit

Permalink
Merge pull request #148 from jjudd/request-expired
Browse files Browse the repository at this point in the history
JENKINS-26854: Fixing 'RequestExpired'
  • Loading branch information
francisu committed May 24, 2015
2 parents b576bb3 + 2855d1d commit 1fa2ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/ec2/EC2Cloud.java
Expand Up @@ -486,7 +486,7 @@ public synchronized static AmazonEC2 connect(AWSCredentialsProvider credentialsP
config.setProxyPassword(proxyConfig.getPassword());
}
}
AmazonEC2 client = new AmazonEC2Client(credentialsProvider.getCredentials(), config);
AmazonEC2 client = new AmazonEC2Client(credentialsProvider, config);
client.setEndpoint(endpoint.toString());
return client;
}
Expand Down

0 comments on commit 1fa2ee1

Please sign in to comment.