Skip to content

Commit 8fdfbcd

Browse files
committed
Fix typo
Signed-off-by: Taka Nishida <[email protected]>
1 parent 2460a79 commit 8fdfbcd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/build/build.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func WithTimeout(timeout time.Duration) BuilderOptionFunc {
103103

104104
func WithProgressBar() BuilderOptionFunc {
105105
return func(b *Builder) error {
106-
// Add a spiner
106+
// Add a spinner
107107
cfg := yacspin.Config{
108108
Frequency: 100 * time.Millisecond,
109109
CharSet: yacspin.CharSets[59],
@@ -361,7 +361,7 @@ func (b *Builder) generate(kustomization kustomizev1.Kustomization, dirPath stri
361361
}
362362

363363
// 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
365365
ignoreList := strings.Join(b.ignore, "\n")
366366
gen := kustomize.NewGeneratorWithIgnore("", ignoreList, unstructured.Unstructured{Object: data})
367367

@@ -375,7 +375,7 @@ func (b *Builder) generate(kustomization kustomizev1.Kustomization, dirPath stri
375375
func (b *Builder) do(ctx context.Context, kustomization kustomizev1.Kustomization, dirPath string) (resmap.ResMap, error) {
376376
fs := filesys.MakeFsOnDisk()
377377

378-
// acuire the lock
378+
// acquire the lock
379379
b.mu.Lock()
380380
defer b.mu.Unlock()
381381

@@ -562,9 +562,9 @@ func maskSopsDataInStringDataSecret(stringDataMap map[string]string, mask string
562562
}
563563

564564
// Cancel cancels the build
565-
// It restores a clean reprository
565+
// It restores a clean repository
566566
func (b *Builder) Cancel() error {
567-
// acuire the lock
567+
// acquire the lock
568568
b.mu.Lock()
569569
defer b.mu.Unlock()
570570

0 commit comments

Comments
 (0)