Skip to content

Commit c1ad0e0

Browse files
authored
docs: fix typos (#10857)
1 parent 0aff3fd commit c1ad0e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/iac/scanners/ansible/orderedmap/orderedmap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func NewWithData[K comparable, V any](keys []K, data map[K]V) *OrderedMap[K, V]
2828
}
2929
}
3030

31-
// Len returns the number of entires in the map
31+
// Len returns the number of entries in the map
3232
func (m *OrderedMap[K, V]) Len() int {
3333
return len(m.keys)
3434
}

pkg/k8s/report/cyclonedx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type CycloneDXWriter struct {
1717
marshaler cyclonedx.Marshaler
1818
}
1919

20-
// NewCycloneDXWriter constract new CycloneDXWriter
20+
// NewCycloneDXWriter constructs a new CycloneDXWriter
2121
func NewCycloneDXWriter(output io.Writer, format cdx.BOMFileFormat, appVersion string) CycloneDXWriter {
2222
encoder := cdx.NewBOMEncoder(output, format)
2323
encoder.SetPretty(true)

0 commit comments

Comments
 (0)