Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo errors for code and documentation #171

Merged
merged 3 commits into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion civo/datasource_firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion civo/datasource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion civo/datasource_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion civo/datasource_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down