Skip to content

Commit

Permalink
Improve resolving (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
cugu authored Apr 16, 2021
1 parent 6bd7c18 commit 352a817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collection/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (

// Resolve returns a list of values that can be used for the placeholder parameter.
func (c *LiveCollector) Resolve(parameter string) ([]string, error) {
parameter = strings.ToLower(parameter)
parameter = strings.TrimPrefix(parameter, "environ_")

providingSources, ok := c.providesMap[parameter]
Expand Down

0 comments on commit 352a817

Please sign in to comment.