Skip to content

Commit 36064ca

Browse files
committed
Fix typos report by goreportcard
1 parent f174bbf commit 36064ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/cloudinit/config/validate/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func coerceNodes(w, s Node) Node {
149149
return n
150150
}
151151

152-
// normalizeNodeNames replaces all occurences of '-' with '_' within key names
152+
// normalizeNodeNames replaces all occurrences of '-' with '_' within key names
153153
// and makes a note of each replacement in the report.
154154
func normalizeNodeNames(node Node, report *Report) Node {
155155
if strings.Contains(node.name, "-") {

config/cloudinit/datasource/datasource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Datasource interface {
2828
FetchUserdata() ([]byte, error)
2929
Type() string
3030
String() string
31-
// Finish gives the datasource the oportunity to clean up, unmount or release any open / cache resources
31+
// Finish gives the datasource the opportunity to clean up, unmount or release any open / cache resources
3232
Finish() error
3333
}
3434

config/cloudinit/network/vmware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func ProcessVMwareNetconf(config map[string]string) ([]InterfaceGenerator, error
5757
var dhcp bool
5858
iface := &physicalInterface{}
5959

60-
log.Printf("Proccessing interface %d", i)
60+
log.Printf("Processing interface %d", i)
6161

6262
log.Println("Processing DHCP")
6363
if dhcp, err = processDHCPConfig(config, fmt.Sprintf("interface.%d.", i)); err != nil {

0 commit comments

Comments
 (0)