Skip to content

Commit 3422deb

Browse files
authored
Fix comment typos (#14544)
2 parents 00c3ea3 + ad6f13a commit 3422deb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lxd/device/device_interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type Device interface {
4343
// PreStartCheck indicates if the device is available for starting.
4444
PreStartCheck() error
4545

46-
// Start peforms any host-side configuration required to start the device for the instance.
46+
// Start performs any host-side configuration required to start the device for the instance.
4747
// This can be when a device is plugged into a running instance or the instance is starting.
4848
// Returns run-time configuration needed for configuring the instance with the new device.
4949
Start() (*deviceConfig.RunConfig, error)

lxd/network/driver_bridge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ func (n *bridge) Validate(config map[string]string) error {
737737
return err
738738
}
739739

740-
// Peform composite key checks after per-key validation.
740+
// Perform composite key checks after per-key validation.
741741

742742
// Validate DNS zone names.
743743
err = n.validateZoneNames(config)

lxd/network/driver_ovn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ func (n *ovn) Validate(config map[string]string) error {
589589
return err
590590
}
591591

592-
// Peform composite key checks after per-key validation.
592+
// Perform composite key checks after per-key validation.
593593

594594
// Validate DNS zone names.
595595
err = n.validateZoneNames(config)

lxd/networks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ func networkStartup(stateFunc func() *state.State) error {
16531653
}
16541654

16551655
{
1656-
// Peform first pass to start networks.
1656+
// Perform first pass to start networks.
16571657
// Local scope for state variable during initial pass of setting up networks.
16581658
s := stateFunc()
16591659
err = s.DB.Cluster.Transaction(s.ShutdownCtx, func(ctx context.Context, tx *db.ClusterTx) error {

0 commit comments

Comments
 (0)