Skip to content

Commit 8f98503

Browse files
committed
typo fix
1 parent 0900453 commit 8f98503

23 files changed

+41
-41
lines changed

docs/guides/changelog.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ description: |-
77

88
# Changelog
99

10-
## 2.0.0-beta2 (Unreleased)
11-
12-
- (Fix) Change value of `interface_type` within `fmc_security_zones` item should replace just this object, not entire bulk resource
13-
- (Fix) Update minimum FMC version for `file_type` and `file_category` data sources
14-
- (Fix) Align fields in ipv4/ipv6/vrf_ipv4/vrf_ipv6 static_route resources
15-
- (Enhancement) Add `type` field to multiple resources
16-
17-
## 2.0.0-beta1
18-
19-
- Initial release
10+
## 2.0.0-beta2 (Unreleased)
11+
12+
- (Fix) Change value of `interface_type` within `fmc_security_zones` item should replace just this object, not entire bulk resource
13+
- (Fix) Update minimum FMC version for `file_type` and `file_category` data sources
14+
- (Fix) Align fields in ipv4/ipv6/vrf_ipv4/vrf_ipv6 static_route resources
15+
- (Enhancement) Add `type` field to multiple resources
16+
17+
## 2.0.0-beta1
18+
19+
- Initial release
2020

gen/templates/model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ func (data *{{camelCase .Name}}) Clone() {{camelCase .Name}} {
575575
func (data {{camelCase .Name}}) toBodyNonBulk(ctx context.Context, state {{camelCase .Name}}) string {
576576
// This is one-by-one update, so only one element to update is expected
577577
if len(data.Items) > 1 {
578-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
578+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
579579
}
580580

581581
// Utilize existing toBody function

internal/provider/model_fmc_dynamic_objects.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func (data *DynamicObjects) Clone() DynamicObjects {
278278
func (data DynamicObjects) toBodyNonBulk(ctx context.Context, state DynamicObjects) string {
279279
// This is one-by-one update, so only one element to update is expected
280280
if len(data.Items) > 1 {
281-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
281+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
282282
}
283283

284284
// Utilize existing toBody function

internal/provider/model_fmc_file_categories.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func (data *FileCategories) Clone() FileCategories {
221221
func (data FileCategories) toBodyNonBulk(ctx context.Context, state FileCategories) string {
222222
// This is one-by-one update, so only one element to update is expected
223223
if len(data.Items) > 1 {
224-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
224+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
225225
}
226226

227227
// Utilize existing toBody function

internal/provider/model_fmc_file_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func (data *FileTypes) Clone() FileTypes {
221221
func (data FileTypes) toBodyNonBulk(ctx context.Context, state FileTypes) string {
222222
// This is one-by-one update, so only one element to update is expected
223223
if len(data.Items) > 1 {
224-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
224+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
225225
}
226226

227227
// Utilize existing toBody function

internal/provider/model_fmc_fqdn_objects.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (data *FQDNObjects) Clone() FQDNObjects {
277277
func (data FQDNObjects) toBodyNonBulk(ctx context.Context, state FQDNObjects) string {
278278
// This is one-by-one update, so only one element to update is expected
279279
if len(data.Items) > 1 {
280-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
280+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
281281
}
282282

283283
// Utilize existing toBody function

internal/provider/model_fmc_hosts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (data *Hosts) Clone() Hosts {
263263
func (data Hosts) toBodyNonBulk(ctx context.Context, state Hosts) string {
264264
// This is one-by-one update, so only one element to update is expected
265265
if len(data.Items) > 1 {
266-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
266+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
267267
}
268268

269269
// Utilize existing toBody function

internal/provider/model_fmc_icmpv4_objects.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (data *ICMPv4Objects) Clone() ICMPv4Objects {
277277
func (data ICMPv4Objects) toBodyNonBulk(ctx context.Context, state ICMPv4Objects) string {
278278
// This is one-by-one update, so only one element to update is expected
279279
if len(data.Items) > 1 {
280-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
280+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
281281
}
282282

283283
// Utilize existing toBody function

internal/provider/model_fmc_networks.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (data *Networks) Clone() Networks {
263263
func (data Networks) toBodyNonBulk(ctx context.Context, state Networks) string {
264264
// This is one-by-one update, so only one element to update is expected
265265
if len(data.Items) > 1 {
266-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
266+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
267267
}
268268

269269
// Utilize existing toBody function

internal/provider/model_fmc_port_groups.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ func (data *PortGroups) Clone() PortGroups {
336336
func (data PortGroups) toBodyNonBulk(ctx context.Context, state PortGroups) string {
337337
// This is one-by-one update, so only one element to update is expected
338338
if len(data.Items) > 1 {
339-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
339+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
340340
}
341341

342342
// Utilize existing toBody function

internal/provider/model_fmc_ports.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (data *Ports) Clone() Ports {
277277
func (data Ports) toBodyNonBulk(ctx context.Context, state Ports) string {
278278
// This is one-by-one update, so only one element to update is expected
279279
if len(data.Items) > 1 {
280-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
280+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
281281
}
282282

283283
// Utilize existing toBody function

internal/provider/model_fmc_ranges.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (data *Ranges) Clone() Ranges {
263263
func (data Ranges) toBodyNonBulk(ctx context.Context, state Ranges) string {
264264
// This is one-by-one update, so only one element to update is expected
265265
if len(data.Items) > 1 {
266-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
266+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
267267
}
268268

269269
// Utilize existing toBody function

internal/provider/model_fmc_security_zones.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ func (data *SecurityZones) Clone() SecurityZones {
237237
func (data SecurityZones) toBodyNonBulk(ctx context.Context, state SecurityZones) string {
238238
// This is one-by-one update, so only one element to update is expected
239239
if len(data.Items) > 1 {
240-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
240+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
241241
}
242242

243243
// Utilize existing toBody function

internal/provider/model_fmc_sgts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func (data *SGTs) Clone() SGTs {
251251
func (data SGTs) toBodyNonBulk(ctx context.Context, state SGTs) string {
252252
// This is one-by-one update, so only one element to update is expected
253253
if len(data.Items) > 1 {
254-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
254+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
255255
}
256256

257257
// Utilize existing toBody function

internal/provider/model_fmc_snmp_alerts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (data *SNMPAlerts) Clone() SNMPAlerts {
219219
func (data SNMPAlerts) toBodyNonBulk(ctx context.Context, state SNMPAlerts) string {
220220
// This is one-by-one update, so only one element to update is expected
221221
if len(data.Items) > 1 {
222-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
222+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
223223
}
224224

225225
// Utilize existing toBody function

internal/provider/model_fmc_syslog_alerts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func (data *SyslogAlerts) Clone() SyslogAlerts {
219219
func (data SyslogAlerts) toBodyNonBulk(ctx context.Context, state SyslogAlerts) string {
220220
// This is one-by-one update, so only one element to update is expected
221221
if len(data.Items) > 1 {
222-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
222+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
223223
}
224224

225225
// Utilize existing toBody function

internal/provider/model_fmc_time_ranges.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func (data *TimeRanges) Clone() TimeRanges {
437437
func (data TimeRanges) toBodyNonBulk(ctx context.Context, state TimeRanges) string {
438438
// This is one-by-one update, so only one element to update is expected
439439
if len(data.Items) > 1 {
440-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
440+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
441441
}
442442

443443
// Utilize existing toBody function

internal/provider/model_fmc_tunnel_zones.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func (data *TunnelZones) Clone() TunnelZones {
236236
func (data TunnelZones) toBodyNonBulk(ctx context.Context, state TunnelZones) string {
237237
// This is one-by-one update, so only one element to update is expected
238238
if len(data.Items) > 1 {
239-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
239+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
240240
}
241241

242242
// Utilize existing toBody function

internal/provider/model_fmc_url_groups.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ func (data *URLGroups) Clone() URLGroups {
393393
func (data URLGroups) toBodyNonBulk(ctx context.Context, state URLGroups) string {
394394
// This is one-by-one update, so only one element to update is expected
395395
if len(data.Items) > 1 {
396-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
396+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
397397
}
398398

399399
// Utilize existing toBody function

internal/provider/model_fmc_urls.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (data *URLs) Clone() URLs {
263263
func (data URLs) toBodyNonBulk(ctx context.Context, state URLs) string {
264264
// This is one-by-one update, so only one element to update is expected
265265
if len(data.Items) > 1 {
266-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
266+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
267267
}
268268

269269
// Utilize existing toBody function

internal/provider/model_fmc_vlan_tag_groups.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ func (data *VLANTagGroups) Clone() VLANTagGroups {
407407
func (data VLANTagGroups) toBodyNonBulk(ctx context.Context, state VLANTagGroups) string {
408408
// This is one-by-one update, so only one element to update is expected
409409
if len(data.Items) > 1 {
410-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
410+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
411411
}
412412

413413
// Utilize existing toBody function

internal/provider/model_fmc_vlan_tags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func (data *VLANTags) Clone() VLANTags {
278278
func (data VLANTags) toBodyNonBulk(ctx context.Context, state VLANTags) string {
279279
// This is one-by-one update, so only one element to update is expected
280280
if len(data.Items) > 1 {
281-
tflog.Error(ctx, "Found more than one element to chage. Only one will be changed.")
281+
tflog.Error(ctx, "Found more than one element to change. Only one will be changed.")
282282
}
283283

284284
// Utilize existing toBody function

templates/guides/changelog.md.tmpl

+10-10
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ description: |-
77

88
# Changelog
99

10-
## 2.0.0-beta2 (Unreleased)
11-
12-
- (Fix) Change value of `interface_type` within `fmc_security_zones` item should replace just this object, not entire bulk resource
13-
- (Fix) Update minimum FMC version for `file_type` and `file_category` data sources
14-
- (Fix) Align fields in ipv4/ipv6/vrf_ipv4/vrf_ipv6 static_route resources
15-
- (Enhancement) Add `type` field to multiple resources
16-
17-
## 2.0.0-beta1
18-
19-
- Initial release
10+
## 2.0.0-beta2 (Unreleased)
11+
12+
- (Fix) Change value of `interface_type` within `fmc_security_zones` item should replace just this object, not entire bulk resource
13+
- (Fix) Update minimum FMC version for `file_type` and `file_category` data sources
14+
- (Fix) Align fields in ipv4/ipv6/vrf_ipv4/vrf_ipv6 static_route resources
15+
- (Enhancement) Add `type` field to multiple resources
16+
17+
## 2.0.0-beta1
18+
19+
- Initial release
2020

0 commit comments

Comments
 (0)