machine-types: remove duplicate dedup

PR #6058 addded dedup in a better way than I had previously done, so
remove my more complicated and now superfluous second dedup.
This commit is contained in:
Justin Santa Barbara 2018-11-27 23:08:10 -05:00
parent 741510a9ca
commit b78e4312ec
1 changed files with 0 additions and 7 deletions

View File

@ -262,14 +262,7 @@ func run() error {
for _, f := range sortedFamilies {
output = output + fmt.Sprintf("\n// %s family", f)
previousMachine := ""
for _, m := range machines {
// Ignore duplicates
if m.Name == previousMachine {
continue
}
previousMachine = m.Name
if family := strings.Split(m.Name, ".")[0]; family == f {
var ecu string
if m.Burstable {