fix incorrect use of sort.StringSlice

A newer version of staticheck found these:

> SA4029: sort.StringSlice is a type, not a function, and
> sort.StringSlice(variants) doesn't sort your values; consider using
> sort.Strings instead (staticcheck)
This commit is contained in:
Christian Schwarz
2022-10-24 22:03:08 +02:00
parent a6aa610165
commit a91fb873e4
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ func (s AbstractionTypeSet) String() string {
for i := range s {
sts = append(sts, string(i))
}
sts = sort.StringSlice(sts)
sort.Strings(sts)
return strings.Join(sts, ",")
}