From d204163cf1a90c899e271a6f9c166de16c1fc387 Mon Sep 17 00:00:00 2001 From: Pratik Mota Date: Sat, 13 May 2023 01:04:21 +0530 Subject: [PATCH] fix typo errors for code and documentation (#171) --- civo/datasource_firewall.go | 2 +- civo/datasource_instance.go | 2 +- civo/datasource_loadbalancer.go | 2 +- civo/datasource_network.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/civo/datasource_firewall.go b/civo/datasource_firewall.go index eeb62d2..1cd997a 100644 --- a/civo/datasource_firewall.go +++ b/civo/datasource_firewall.go @@ -18,7 +18,7 @@ func dataSourceFirewall() *schema.Resource { Description: strings.Join([]string{ "Retrieve information about a firewall for use in other resources.", "This data source provides all of the firewall's properties as configured on your Civo account.", - "Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for an expecific firewall inside that region.", + "Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for a specific firewall inside that region.", }, "\n\n"), ReadContext: dataSourceFirewallRead, Schema: map[string]*schema.Schema{ diff --git a/civo/datasource_instance.go b/civo/datasource_instance.go index 92c1a50..5d51c45 100644 --- a/civo/datasource_instance.go +++ b/civo/datasource_instance.go @@ -54,7 +54,7 @@ func dataSourceInstance() *schema.Resource { "cpu_cores": { Type: schema.TypeInt, Computed: true, - Description: "Total cpu of the inatance", + Description: "Total cpu of the instance", }, "ram_mb": { Type: schema.TypeInt, diff --git a/civo/datasource_loadbalancer.go b/civo/datasource_loadbalancer.go index 0d30f94..56bc69f 100644 --- a/civo/datasource_loadbalancer.go +++ b/civo/datasource_loadbalancer.go @@ -33,7 +33,7 @@ func dataSourceLoadBalancer() *schema.Resource { "region": { Type: schema.TypeString, Optional: true, - Description: "The region of the load balancer, if you delcare this field, the datasource will use this value instead of the one defined in the provider", + Description: "The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider", }, "public_ip": { Type: schema.TypeString, diff --git a/civo/datasource_network.go b/civo/datasource_network.go index 7f2f9aa..0e12c10 100644 --- a/civo/datasource_network.go +++ b/civo/datasource_network.go @@ -18,7 +18,7 @@ func dataSourceNetwork() *schema.Resource { Description: strings.Join([]string{ "Retrieve information about a network for use in other resources.", "This data source provides all of the network's properties as configured on your Civo account.", - "Networks may be looked up by id or label, and you can optionally pass region if you want to make a lookup for an expecific network inside that region.", + "Networks may be looked up by id or label, and you can optionally pass region if you want to make a lookup for a specific network inside that region.", }, "\n\n"), ReadContext: dataSourceNetworkRead, Schema: map[string]*schema.Schema{