Remove the trailing dot if the domain is not defined.
This commit is contained in:
parent
638960284e
commit
c7df82e695
8 changed files with 46 additions and 15 deletions
|
@ -111,7 +111,7 @@ func (p *Provider) getFrontendRule(service serviceUpdate) string {
|
|||
return ""
|
||||
}
|
||||
|
||||
return buffer.String()
|
||||
return strings.TrimSuffix(buffer.String(), ".")
|
||||
}
|
||||
|
||||
func (p *Provider) getServer(node *api.ServiceEntry) types.Server {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue