mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
parent
56bee8655c
commit
cf59f40250
2 changed files with 10 additions and 5 deletions
|
@ -22,7 +22,7 @@ func (n *Notice) ToString() string {
|
|||
if n.Severity == unsupported {
|
||||
s += "is unsupported by this migration tool in " + n.Version + "."
|
||||
} else {
|
||||
s += "was " + n.Severity + " in " + n.Version + "."
|
||||
s += "is " + n.Severity + " in " + n.Version + "."
|
||||
}
|
||||
if n.ReplacedBy != "" {
|
||||
s += fmt.Sprintf(` It is replaced by "%v".`, n.ReplacedBy)
|
||||
|
@ -34,7 +34,8 @@ func (n *Notice) ToString() string {
|
|||
}
|
||||
|
||||
const (
|
||||
deprecated = "deprecated" // plugin/option is deprecated
|
||||
removed = "removed" // plugin/option has been removed
|
||||
deprecated = "deprecated" // plugin/option is deprecated in CoreDNS
|
||||
ignored = "ignored" // plugin/option is ignored by CoreDNS
|
||||
removed = "removed" // plugin/option has been removed from CoreDNS
|
||||
unsupported = "unsupported" // plugin/option is not supported by the migration tool
|
||||
)
|
||||
|
|
|
@ -63,7 +63,7 @@ var Versions = map[string]release{
|
|||
action: removeOption,
|
||||
},
|
||||
"endpoint": {
|
||||
status: deprecated,
|
||||
status: ignored,
|
||||
action: removeExtraEndpoints,
|
||||
},
|
||||
"tls": {},
|
||||
|
@ -72,6 +72,10 @@ var Versions = map[string]release{
|
|||
"labels": {},
|
||||
"pods": {},
|
||||
"endpoint_pod_names": {},
|
||||
"upstream": {
|
||||
status: ignored,
|
||||
action: removeOption,
|
||||
},
|
||||
"ttl": {},
|
||||
"noendpoints": {},
|
||||
"transfer": {},
|
||||
|
@ -120,7 +124,7 @@ var Versions = map[string]release{
|
|||
options: map[string]option{
|
||||
"resyncperiod": {},
|
||||
"endpoint": {
|
||||
status: deprecated,
|
||||
status: ignored,
|
||||
action: removeExtraEndpoints,
|
||||
},
|
||||
"tls": {},
|
||||
|
|
Loading…
Reference in a new issue