Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #982 from kinvolk/invidian/improvements
Browse files Browse the repository at this point in the history
pkg/components: remove unused List() function
  • Loading branch information
invidian authored Sep 18, 2020
2 parents ede4848 + 886a6cd commit 5ba9d5c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ func ListNames() []string {
return componentList
}

func List() []Component {
var componentList []Component
for _, component := range components {
componentList = append(componentList, component)
}
return componentList
}

func Get(name string) (Component, error) {
component, exists := components[name]
if !exists {
Expand Down

0 comments on commit 5ba9d5c

Please sign in to comment.