Skip to content

Commit 73d3eb2

Browse files
committedApr 2, 2020
fix(populator): set bundle name
Add missing name assignment to fix registry add errors.
1 parent 7c2956e commit 73d3eb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎pkg/registry/populator.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ func loadBundle(csvName string, dir string) (*Bundle, error) {
126126
return nil, err
127127
}
128128

129-
bundle := &Bundle{}
129+
bundle := &Bundle{
130+
Name: csvName,
131+
}
130132
for _, f := range files {
131133
log = log.WithField("file", f.Name())
132134
if f.IsDir() {

0 commit comments

Comments
 (0)
Please sign in to comment.