Commit 5f99430
authored
Fix a panic when reading annotations if the bundle is not there (#255)
If the bundle is not present, the current bundleLoader will panic
when it gets to addChannelsFromAnnotationsFile. If the bundle is
nil, addChannelsFromAnnotationsFile should not attempt to do anything
so instead it just returns now.
Signed-off-by: Brad P. Crochet <brad@redhat.com>
Signed-off-by: Brad P. Crochet <brad@redhat.com>1 parent ae4da2a commit 5f99430
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments