@@ -45,7 +45,7 @@ type BundleMetaData struct {
45
45
// The PackageName of the operator bundle.
46
46
PackageName string
47
47
48
- // Channels and DefaultChannel the operator shoud be subscribed to.
48
+ // Channels and DefaultChannel the operator should be subscribed to.
49
49
Channels string
50
50
DefaultChannel string
51
51
@@ -107,9 +107,9 @@ func (meta *BundleMetaData) GenerateMetadata() error {
107
107
108
108
dockerfilePath := defaultBundleDockerfilePath
109
109
// 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
111
111
// 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.
113
113
if len (meta .PkgmanifestPath ) != 0 {
114
114
dockerfilePath = filepath .Join (filepath .Dir (meta .BundleDir ), "bundle.Dockerfile" )
115
115
values .BundleDir = filepath .Base (meta .BundleDir )
@@ -136,7 +136,7 @@ func (meta *BundleMetaData) GenerateMetadata() error {
136
136
return err
137
137
}
138
138
}
139
- log .Infof ("Bundle metadata generated suceessfully " )
139
+ log .Infof ("Bundle metadata generated successfully " )
140
140
return nil
141
141
}
142
142
@@ -166,7 +166,7 @@ func copyOperatorManifests(src, dest string) error {
166
166
167
167
if f .IsDir () {
168
168
// 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.
170
170
if err = copyOperatorManifests (srcPath , destPath ); err != nil {
171
171
return err
172
172
}
0 commit comments