Skip to content

Commit 9cb78ee

Browse files
Merge pull request #922 from hs0210/work
Fix some typos in comments
2 parents 647504c + 18c77da commit 9cb78ee

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

controllers/metal3.io/baremetalhost_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ func (r *BareMetalHostReconciler) updateEventHandler(e event.UpdateEvent) bool {
13181318
return true
13191319
}
13201320

1321-
// SetupWithManager reigsters the reconciler to be run by the manager
1321+
// SetupWithManager registers the reconciler to be run by the manager
13221322
func (r *BareMetalHostReconciler) SetupWithManager(mgr ctrl.Manager) error {
13231323

13241324
maxConcurrentReconciles := runtime.NumCPU()

pkg/provisioner/demo/demo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func (p *demoProvisioner) Adopt(data provisioner.AdoptData, force bool) (result
220220

221221
// Provision writes the image from the host spec to the host. It may
222222
// be called multiple times, and should return true for its dirty flag
223-
// until the deprovisioning operation is completed.
223+
// until the provisioning operation is completed.
224224
func (p *demoProvisioner) Provision(data provisioner.ProvisionData) (result provisioner.Result, err error) {
225225

226226
hostName := p.objectMeta.Name

pkg/provisioner/fixture/fixture.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (p *fixtureProvisioner) Adopt(data provisioner.AdoptData, force bool) (resu
205205

206206
// Provision writes the image from the host spec to the host. It may
207207
// be called multiple times, and should return true for its dirty flag
208-
// until the deprovisioning operation is completed.
208+
// until the provisioning operation is completed.
209209
func (p *fixtureProvisioner) Provision(data provisioner.ProvisionData) (result provisioner.Result, err error) {
210210
p.log.Info("provisioning image to host")
211211

pkg/provisioner/ironic/ironic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ func (p *ironicProvisioner) getConfigDrive(data provisioner.ProvisionData) (conf
13071307

13081308
// Provision writes the image from the host spec to the host. It may
13091309
// be called multiple times, and should return true for its dirty flag
1310-
// until the deprovisioning operation is completed.
1310+
// until the provisioning operation is completed.
13111311
func (p *ironicProvisioner) Provision(data provisioner.ProvisionData) (result provisioner.Result, err error) {
13121312
ironicNode, err := p.getNode()
13131313
if err != nil {

pkg/provisioner/provisioner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ type Provisioner interface {
118118

119119
// Provision writes the image from the host spec to the host. It
120120
// may be called multiple times, and should return true for its
121-
// dirty flag until the deprovisioning operation is completed.
121+
// dirty flag until the provisioning operation is completed.
122122
Provision(data ProvisionData) (result Result, err error)
123123

124124
// Deprovision removes the host from the image. It may be called

0 commit comments

Comments
 (0)