Version 22.0.0 had a bad config migration, which updated empty lists (addnode: []) to lists containing one invalid object (addnode: [{port: ~}]). The migration is supposed to convert a list of strings to a list of objects. The object must contain the key hostname or it is considered invalid. For some reason some invocations of the yqmap function apparently insert [invalid] objects even when mapping empty lists.
This new release fixes invalid configs resulting from the application of the broken migration, and also performs the migration.
Version 22.0.0 had a bad config migration, which updated empty lists (
addnode: []
) to lists containing one invalid object (addnode: [{port: ~}]
). The migration is supposed to convert a list of strings to a list of objects. The object must contain the keyhostname
or it is considered invalid. For some reason some invocations of theyq
map
function apparently insert [invalid] objects even when mapping empty lists.This new release fixes invalid configs resulting from the application of the broken migration, and also performs the migration.