@@ -103,7 +103,7 @@ func WithTimeout(timeout time.Duration) BuilderOptionFunc {
103
103
104
104
func WithProgressBar () BuilderOptionFunc {
105
105
return func (b * Builder ) error {
106
- // Add a spiner
106
+ // Add a spinner
107
107
cfg := yacspin.Config {
108
108
Frequency : 100 * time .Millisecond ,
109
109
CharSet : yacspin .CharSets [59 ],
@@ -361,7 +361,7 @@ func (b *Builder) generate(kustomization kustomizev1.Kustomization, dirPath stri
361
361
}
362
362
363
363
// a scanner will be used down the line to parse the list
364
- // so we have to make sure to unclude newlines
364
+ // so we have to make sure to include newlines
365
365
ignoreList := strings .Join (b .ignore , "\n " )
366
366
gen := kustomize .NewGeneratorWithIgnore ("" , ignoreList , unstructured.Unstructured {Object : data })
367
367
@@ -375,7 +375,7 @@ func (b *Builder) generate(kustomization kustomizev1.Kustomization, dirPath stri
375
375
func (b * Builder ) do (ctx context.Context , kustomization kustomizev1.Kustomization , dirPath string ) (resmap.ResMap , error ) {
376
376
fs := filesys .MakeFsOnDisk ()
377
377
378
- // acuire the lock
378
+ // acquire the lock
379
379
b .mu .Lock ()
380
380
defer b .mu .Unlock ()
381
381
@@ -562,9 +562,9 @@ func maskSopsDataInStringDataSecret(stringDataMap map[string]string, mask string
562
562
}
563
563
564
564
// Cancel cancels the build
565
- // It restores a clean reprository
565
+ // It restores a clean repository
566
566
func (b * Builder ) Cancel () error {
567
- // acuire the lock
567
+ // acquire the lock
568
568
b .mu .Lock ()
569
569
defer b .mu .Unlock ()
570
570
0 commit comments