1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

NEW FEATURE: Order changes based on the record dependencies (#2419)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Vincent Hagen
2023-08-29 20:00:09 +02:00
committed by GitHub
parent e26afaf7e0
commit e32bdc053f
22 changed files with 1265 additions and 205 deletions

View File

@@ -32,6 +32,9 @@ func analyzeByRecordSet(cc *CompareConfig) ChangeList {
}
}
}
instructions = orderByDependencies(instructions)
return instructions
}
@@ -74,6 +77,8 @@ func analyzeByLabel(cc *CompareConfig) ChangeList {
}
}
instructions = orderByDependencies(instructions)
return instructions
}
@@ -89,6 +94,9 @@ func analyzeByRecord(cc *CompareConfig) ChangeList {
instructions = append(instructions, cs...)
}
}
instructions = orderByDependencies(instructions)
return instructions
}