Skip to content

Commit

Permalink
tags: Correct previously discovered readTagsForResource typo
Browse files Browse the repository at this point in the history
As we use it in datacenters as well.
  • Loading branch information
vancluever committed Sep 25, 2017
1 parent 1322d0f commit 51738ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsphere/resource_vsphere_datacenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func resourceVSphereDatacenterRead(d *schema.ResourceData, meta interface{}) err

// Read tags if we have the ability to do so
if tagsClient, _ := meta.(*VSphereClient).TagsClient(); tagsClient != nil {
if err := readTagsForResoruce(tagsClient, dc, d); err != nil {
if err := readTagsForResource(tagsClient, dc, d); err != nil {
return err
}
}
Expand Down

0 comments on commit 51738ac

Please sign in to comment.