Skip to content

Commit

Permalink
Fix the loop statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh committed Jun 27, 2024
1 parent ba4cae9 commit 1262c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routeros/mikrotik_serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func TerraformResourceDataToMikrotik(s map[string]*schema.Schema, d *schema.Reso

// skip if object is empty
if value.([]interface{})[0] == nil {
break
continue
}

list := value.([]interface{})[0].(map[string]interface{})
Expand Down

0 comments on commit 1262c72

Please sign in to comment.