Simplify logic of pd.go

This commit is contained in:
Justin Santa Barbara
2015-03-27 08:59:49 -07:00
parent 6a4153fc0a
commit 2812936d34
2 changed files with 9 additions and 15 deletions

View File

@@ -240,9 +240,9 @@ func newAWSCloud(config io.Reader, authFunc AuthFunc, instanceId string, metadat
ec2 := &goamzEC2{ec2: ec2.New(auth, region)}
awsCloud := &AWSCloud{
ec2: ec2,
cfg: cfg,
region: region,
ec2: ec2,
cfg: cfg,
region: region,
availabilityZone: zone,
}