Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Aug 10, 2023
1 parent 06d680e commit b31ebca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flex/flex.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
func ExpandStringList(configured []interface{}) []*string {
vs := make([]*string, 0, len(configured))
for _, v := range configured {
if v, ok := v.(string); ok && v != "" {
if v, ok := v.(string); ok && v != "" { // v != "" may not do anything since in []interface{}, empty string will be nil so !ok
vs = append(vs, aws.String(v))
}
}
Expand Down

0 comments on commit b31ebca

Please sign in to comment.