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

Commit

Permalink
pkg/components: remove unused List() function
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
  • Loading branch information
invidian committed Sep 18, 2020
1 parent 9fde1e9 commit 886a6cd
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 886a6cd

Please sign in to comment.