Skip to content

Commit

Permalink
chore: fix comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
marinsalinas committed Sep 13, 2019
1 parent 57b0479 commit 9828ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongodbatlas/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ func valRegion(reg interface{}, opt ...string) (string, error) {
for _, r := range regions {
if strings.EqualFold(string(r), strings.ReplaceAll(region, "-", "_")) {
/*
We need to check if the option will be similar to network_pering word
We need to check if the option will be similar to network_peering word
(this comes in from the same resource) because network_pering resource
has not the standard region name patron "US_EAST_1",
has not the standard region name pattern "US_EAST_1",
instead it needs the following one: "us-east-1".
*/
if len(opt) > 0 && strings.EqualFold("network_peering", opt[0]) {
Expand Down

0 comments on commit 9828ef1

Please sign in to comment.