File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ func NewLauncherLookuper(baseLookuper envconfig.Lookuper) *LauncherLookuper {
1515 return & LauncherLookuper {baseLookuper : baseLookuper }
1616}
1717
18- func (f * LauncherLookuper ) Lookup (key string ) (string , bool ) {
18+ func (l * LauncherLookuper ) Lookup (key string ) (string , bool ) {
1919 fileKey := key + "_FILE"
20- if filePath , ok := f .baseLookuper .Lookup (fileKey ); ok {
20+ if filePath , ok := l .baseLookuper .Lookup (fileKey ); ok {
2121 // #nosec G304 -- filePath is controlled by system administrator via environment variable
2222 content , err := os .ReadFile (filePath )
2323 if err != nil {
@@ -27,5 +27,5 @@ func (f *LauncherLookuper) Lookup(key string) (string, bool) {
2727 return strings .TrimRight (string (content ), "\n \r " ), true
2828 }
2929
30- return f .baseLookuper .Lookup (key )
30+ return l .baseLookuper .Lookup (key )
3131}
You can’t perform that action at this time.
0 commit comments