Skip to content

Commit

Permalink
calling correct Read func in resourceCheckGroupUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
kjda committed Jun 19, 2020
1 parent 92f4850 commit 0afbf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource_check_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func resourceCheckGroupUpdate(d *schema.ResourceData, client interface{}) error
return fmt.Errorf("API error: %v", err)
}
d.SetId(fmt.Sprintf("%d", group.ID))
return resourceCheckRead(d, client)
return resourceCheckGroupRead(d, client)
}

func resourceCheckGroupDelete(d *schema.ResourceData, client interface{}) error {
Expand Down

0 comments on commit 0afbf5c

Please sign in to comment.