From fb9ccd1f47a2bbd1fb38fe0c3573d3fe9c73a75f Mon Sep 17 00:00:00 2001 From: Mark Ellis Date: Mon, 20 Nov 2023 21:13:35 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Anton Tolchanov <1687799+knyar@users.noreply.github.com> --- tailscale/data_source_acl.go | 2 +- tailscale/provider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tailscale/data_source_acl.go b/tailscale/data_source_acl.go index 32feb8c5..923fde78 100644 --- a/tailscale/data_source_acl.go +++ b/tailscale/data_source_acl.go @@ -13,7 +13,7 @@ import ( func dataSourceACL() *schema.Resource { return &schema.Resource{ Description: "The acl data source gets the Tailscale ACL for a tailnet", - ReadContext: dataSourceAclRead, + ReadContext: dataSourceACLRead, Schema: map[string]*schema.Schema{ "json": { Computed: true, diff --git a/tailscale/provider.go b/tailscale/provider.go index b5825fab..2754b72b 100644 --- a/tailscale/provider.go +++ b/tailscale/provider.go @@ -80,7 +80,7 @@ func Provider(options ...ProviderOption) *schema.Provider { "tailscale_device": dataSourceDevice(), "tailscale_devices": dataSourceDevices(), "tailscale_4via6": dataSource4Via6(), - "tailscale_acl": dataSourceAcl(), + "tailscale_acl": dataSourceACL(), }, }