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

Commit

Permalink
cli/cmd: add comment to applyComponents()
Browse files Browse the repository at this point in the history
To make distinction between this function and componentApply() more
clear.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
  • Loading branch information
invidian committed Oct 15, 2020
1 parent 832eb53 commit e2efa62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/cmd/component-apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ func componentApply(contextLogger *log.Entry, componentsList []string) error {
return nil
}

// applyComponents reads the configuration of given components and applies them to the cluster pointer
// by given kubeconfig file content.
func applyComponents(lokoConfig *config.Config, kubeconfig []byte, componentObjects []components.Component) error {
for _, component := range componentObjects {
componentName := component.Metadata().Name
Expand Down

0 comments on commit e2efa62

Please sign in to comment.