Skip to content

Commit

Permalink
coredns dep.Severity is newdefault, not newDefault
Browse files Browse the repository at this point in the history
Signed-off-by: pacoxu <[email protected]>
  • Loading branch information
pacoxu committed Nov 27, 2020
1 parent 5ed4b76 commit 4525f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubeadm/app/phases/addons/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func isCoreDNSConfigMapMigrationRequired(corefile, currentInstalledCoreDNSVersio

// Check if there are any plugins/options which needs to be removed or is a new default
for _, dep := range deprecated {
if dep.Severity == "removed" || dep.Severity == "newDefault" {
if dep.Severity == "removed" || dep.Severity == "newdefault" {
isMigrationRequired = true
}
}
Expand Down

0 comments on commit 4525f3f

Please sign in to comment.