Skip to content

Commit cc71d72

Browse files
authored
Fix typos (#90)
1 parent 474f04e commit cc71d72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/sync/aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func NewAWSClient(data []byte) (*AWSClient, error) {
4747

4848
region, err := metaClient.Region()
4949
if err != nil {
50-
return nil, fmt.Errorf("unable to retreive region from ec2metadata: %v", err)
50+
return nil, fmt.Errorf("unable to retrieve region from ec2metadata: %v", err)
5151
}
5252
cfg.Region = region
5353
}

examples/aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ upstreams:
4040
* The `api_endpoint` key defines the NGINX Plus API endpoint.
4141
* The `sync_interval_in_seconds` key defines the synchronization interval: nginx-asg-sync checks for scaling updates every 5 seconds.
4242
* The `cloud_provider` key defines a cloud provider that will be used. The default is `AWS`. This means the key can be empty if using AWS. Possible values are: `AWS`, `Azure`.
43-
* The `region` key defines the AWS region where we deploy NGINX Plus and the Auto Scaling groups. Setting `region` to `self` will use the EC2 Metadata service to retreive the region of the current instance.
43+
* The `region` key defines the AWS region where we deploy NGINX Plus and the Auto Scaling groups. Setting `region` to `self` will use the EC2 Metadata service to retrieve the region of the current instance.
4444
* The `upstreams` key defines the list of upstream groups. For each upstream group we specify:
4545
* `name` – The name we specified for the upstream block in the NGINX Plus configuration.
4646
* `autoscaling_group` – The name of the corresponding Auto Scaling group. Use of wildcards is supported. For example, `backend-*`.

0 commit comments

Comments
 (0)