INNER CODE UNIT · Go
deduplicated
roboll/helmfile · pkg/app/app.go:1191
deduplicated = append(deduplicated, *rs[0])
continue
}
if _, ok := dedupedBefore[id]; ok {
continue
}
// We keep the selected one only when there were two or more duplicate
// releases in the helmfile config.
// Otherwise we can't compute the DAG of releases correctly.
r, deduped := selectedIds[id]
if deduped {
deduplicated = append(deduplicated, r)
dedupedBefore[id] = struct{}{}
}
}