Merge pull request #1668 from tpounds/fix-comment-typos
Fix comment typos.
This commit is contained in:
commit
66c06b0f7a
|
@ -182,7 +182,7 @@ func resourceAwsRouteTableUpdate(d *schema.ResourceData, meta interface{}) error
|
||||||
routes := o.(*schema.Set).Intersection(n.(*schema.Set))
|
routes := o.(*schema.Set).Intersection(n.(*schema.Set))
|
||||||
d.Set("route", routes)
|
d.Set("route", routes)
|
||||||
|
|
||||||
// Then loop through al the newly configured routes and create them
|
// Then loop through all the newly configured routes and create them
|
||||||
for _, route := range nrs.List() {
|
for _, route := range nrs.List() {
|
||||||
m := route.(map[string]interface{})
|
m := route.(map[string]interface{})
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,7 @@ func resourceCloudStackEgressFirewallUpdate(d *schema.ResourceData, meta interfa
|
||||||
rules := o.(*schema.Set).Intersection(n.(*schema.Set))
|
rules := o.(*schema.Set).Intersection(n.(*schema.Set))
|
||||||
d.Set("rule", rules)
|
d.Set("rule", rules)
|
||||||
|
|
||||||
// Then loop through al the currently configured rules and create the new ones
|
// Then loop through all the currently configured rules and create the new ones
|
||||||
for _, rule := range nrs.List() {
|
for _, rule := range nrs.List() {
|
||||||
// When succesfully deleted, re-create it again if it still exists
|
// When succesfully deleted, re-create it again if it still exists
|
||||||
err := resourceCloudStackEgressFirewallCreateRule(
|
err := resourceCloudStackEgressFirewallCreateRule(
|
||||||
|
|
|
@ -360,7 +360,7 @@ func resourceCloudStackFirewallUpdate(d *schema.ResourceData, meta interface{})
|
||||||
rules := o.(*schema.Set).Intersection(n.(*schema.Set))
|
rules := o.(*schema.Set).Intersection(n.(*schema.Set))
|
||||||
d.Set("rule", rules)
|
d.Set("rule", rules)
|
||||||
|
|
||||||
// Then loop through al the currently configured rules and create the new ones
|
// Then loop through all the currently configured rules and create the new ones
|
||||||
for _, rule := range nrs.List() {
|
for _, rule := range nrs.List() {
|
||||||
// When succesfully deleted, re-create it again if it still exists
|
// When succesfully deleted, re-create it again if it still exists
|
||||||
err := resourceCloudStackFirewallCreateRule(
|
err := resourceCloudStackFirewallCreateRule(
|
||||||
|
|
|
@ -377,7 +377,7 @@ func resourceCloudStackNetworkACLRuleUpdate(d *schema.ResourceData, meta interfa
|
||||||
rules := o.(*schema.Set).Intersection(n.(*schema.Set))
|
rules := o.(*schema.Set).Intersection(n.(*schema.Set))
|
||||||
d.Set("rule", rules)
|
d.Set("rule", rules)
|
||||||
|
|
||||||
// Then loop through al the currently configured rules and create the new ones
|
// Then loop through all the currently configured rules and create the new ones
|
||||||
for _, rule := range nrs.List() {
|
for _, rule := range nrs.List() {
|
||||||
// When succesfully deleted, re-create it again if it still exists
|
// When succesfully deleted, re-create it again if it still exists
|
||||||
err := resourceCloudStackNetworkACLRuleCreateRule(d, meta, rule.(map[string]interface{}))
|
err := resourceCloudStackNetworkACLRuleCreateRule(d, meta, rule.(map[string]interface{}))
|
||||||
|
|
|
@ -263,7 +263,7 @@ func resourceCloudStackPortForwardUpdate(d *schema.ResourceData, meta interface{
|
||||||
forwards := o.(*schema.Set).Intersection(n.(*schema.Set))
|
forwards := o.(*schema.Set).Intersection(n.(*schema.Set))
|
||||||
d.Set("forward", forwards)
|
d.Set("forward", forwards)
|
||||||
|
|
||||||
// Then loop through al the currently configured forwards and create the new ones
|
// Then loop through all the currently configured forwards and create the new ones
|
||||||
for _, forward := range nrs.List() {
|
for _, forward := range nrs.List() {
|
||||||
err := resourceCloudStackPortForwardCreateForward(
|
err := resourceCloudStackPortForwardCreateForward(
|
||||||
d, meta, forward.(map[string]interface{}))
|
d, meta, forward.(map[string]interface{}))
|
||||||
|
|
Loading…
Reference in New Issue