Skip to content

Commit

Permalink
Update config/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Sing <[email protected]>
  • Loading branch information
ClaytonNorthey92 and joshuasing authored Jun 26, 2024
1 parent 6c861ea commit 9d43d00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ func Parse(c CfgMap) error {

reflect.ValueOf(v.Value).Elem().SetBool(val)
case reflect.Slice:
// we assume that the slice here can be appended to (ex. an empty slice)
value := reflect.ValueOf(v.Value).Elem()
value.Set(reflect.AppendSlice(value, reflect.ValueOf(strings.Split(envValue, ","))))

Expand Down

0 comments on commit 9d43d00

Please sign in to comment.