Commit Graph

1 Commits (3362620ee327d48cd9ef80ec6382b84773eb1b34)

Author SHA1 Message Date
Jason Song d67e40684f
Improve LoadUnitConfig to handle invalid or duplicate units ()
The old code just parses an invalid key to `TypeInvalid` and uses it as
normal, and duplicate keys will be kept.

So this PR will ignore invalid key and log warning and also deduplicate
valid units.