mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
to string for newdefault (#160)
This commit is contained in:
parent
2821bdd6c4
commit
c828c68740
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ func (n *Notice) ToString() string {
|
|||
}
|
||||
if n.Severity == unsupported {
|
||||
s += "is unsupported by this migration tool in " + n.Version + "."
|
||||
} else if n.Severity == newdefault {
|
||||
s += "is added as a default in " + n.Version + "."
|
||||
} else {
|
||||
s += "is " + n.Severity + " in " + n.Version + "."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue