Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7ca004d

Browse files
committedMar 25, 2020
Update graphFromEntries to be a private function
1 parent 235c245 commit 7ca004d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎pkg/sqlite/graphloader.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (g *SQLGraphLoader) Generate() (*registry.Package, error) {
4444
return nil, err
4545
}
4646

47-
channels, err := g.GraphFromEntries(channelEntries)
47+
channels, err := graphFromEntries(channelEntries)
4848
if err != nil {
4949
return nil, err
5050
}
@@ -56,8 +56,8 @@ func (g *SQLGraphLoader) Generate() (*registry.Package, error) {
5656
}, nil
5757
}
5858

59-
// GraphFromEntries builds the graph from a set of channel entries
60-
func (g *SQLGraphLoader) GraphFromEntries(channelEntries []registry.ChannelEntryAnnotated) (map[string]registry.Channel, error) {
59+
// graphFromEntries builds the graph from a set of channel entries
60+
func graphFromEntries(channelEntries []registry.ChannelEntryAnnotated) (map[string]registry.Channel, error) {
6161
channels := map[string]registry.Channel{}
6262

6363
type replaces map[registry.BundleKey]map[registry.BundleKey]struct{}

0 commit comments

Comments
 (0)
Please sign in to comment.