mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +08:00
BUGFIX: Reverse order of domain ascii/unicode displayed (#3872)
# Issue Consensus in https://github.com/StackExchange/dnscontrol/pull/2874 is that the domains should be displayed as: xn--p1ai.com (рф.com)
This commit is contained in:
parent
efa2e1e751
commit
b8f2167bf9
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ func (c ConsolePrinter) StartDomain(dc *models.DomainConfig) {
|
||||||
if dc.Name == dc.NameUnicode {
|
if dc.Name == dc.NameUnicode {
|
||||||
fmt.Fprintf(c.Writer, "******************** Domain: %s\n", dc.Name)
|
fmt.Fprintf(c.Writer, "******************** Domain: %s\n", dc.Name)
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(c.Writer, "******************** Domain: %s (%s)\n", dc.NameUnicode, dc.Name)
|
fmt.Fprintf(c.Writer, "******************** Domain: %s (%s)\n", dc.Name, dc.NameUnicode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue