Skip to content

Commit a53cd4d

Browse files
Fix type-o in output. (#6084)
I've also fixed a few other type-o's and spelling mistakes. Signed-off-by: David Lanouette <[email protected]> Signed-off-by: David Lanouette <[email protected]>
1 parent ccb5500 commit a53cd4d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/util/bundleutil/bundleutil.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type BundleMetaData struct {
4545
// The PackageName of the operator bundle.
4646
PackageName string
4747

48-
// Channels and DefaultChannel the operator shoud be subscribed to.
48+
// Channels and DefaultChannel the operator should be subscribed to.
4949
Channels string
5050
DefaultChannel string
5151

@@ -107,9 +107,9 @@ func (meta *BundleMetaData) GenerateMetadata() error {
107107

108108
dockerfilePath := defaultBundleDockerfilePath
109109
// If migrating from packagemanifests to bundle, bundle.Dockerfile is present
110-
// inside bundleDir, else its in the project directory. Hence dockerfile
110+
// inside bundleDir, else it's in the project directory. Hence, dockerfile
111111
// should have the path specified with respect to output directory of resulting bundles.
112-
// Remmove this, when pkgman-to-bundle migrate command is removed.
112+
// Remove this, when pkgman-to-bundle migrate command is removed.
113113
if len(meta.PkgmanifestPath) != 0 {
114114
dockerfilePath = filepath.Join(filepath.Dir(meta.BundleDir), "bundle.Dockerfile")
115115
values.BundleDir = filepath.Base(meta.BundleDir)
@@ -136,7 +136,7 @@ func (meta *BundleMetaData) GenerateMetadata() error {
136136
return err
137137
}
138138
}
139-
log.Infof("Bundle metadata generated suceessfully")
139+
log.Infof("Bundle metadata generated successfully")
140140
return nil
141141
}
142142

@@ -166,7 +166,7 @@ func copyOperatorManifests(src, dest string) error {
166166

167167
if f.IsDir() {
168168
// TODO(verify): we may have to log an error here instead of recursively copying
169-
// if there are no subfolders allowed under manifests dir of a packagemanifest.
169+
// if there are no sub-folders allowed under manifests dir of a packagemanifest.
170170
if err = copyOperatorManifests(srcPath, destPath); err != nil {
171171
return err
172172
}

0 commit comments

Comments
 (0)