Add the sprig functions in the template engine
This commit is contained in:
parent
ff11467022
commit
7ff6c32452
42 changed files with 5671 additions and 50 deletions
|
@ -351,7 +351,7 @@ func (p *Provider) getBackend(application marathon.Application) string {
|
|||
if label, ok := p.getLabel(application, types.LabelBackend); ok {
|
||||
return label
|
||||
}
|
||||
return provider.Replace("/", "-", application.ID)
|
||||
return strings.Replace(application.ID, "/", "-", -1)
|
||||
}
|
||||
|
||||
func (p *Provider) getSubDomain(name string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue