Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
Fix accidental recursion
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrios Karagiannis <dhkarag@gmail.com>
  • Loading branch information
alkar committed Oct 25, 2019
1 parent 99fd6d8 commit 3c71cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaport/resource_megaport_port.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func resourceMegaportPortCreate(d *schema.ResourceData, m interface{}) error {
return err
}
d.SetId(*uid)
return resourceMegaportPortCreate(d, m)
return resourceMegaportPortRead(d, m)
}

func resourceMegaportPortUpdate(d *schema.ResourceData, m interface{}) error {
Expand Down

0 comments on commit 3c71cd5

Please sign in to comment.