chore: update linter.
This commit is contained in:
parent
3e60863e2d
commit
230c2e5cc2
6 changed files with 7 additions and 7 deletions
|
@ -104,7 +104,7 @@ func (p *Provider) buildConfiguration(ctx context.Context, applications *maratho
|
|||
}
|
||||
|
||||
func getServiceName(app marathon.Application) string {
|
||||
return strings.Replace(strings.TrimPrefix(app.ID, "/"), "/", "_", -1)
|
||||
return strings.ReplaceAll(strings.TrimPrefix(app.ID, "/"), "/", "_")
|
||||
}
|
||||
|
||||
func (p *Provider) buildServiceConfiguration(ctx context.Context, app marathon.Application, extraConf configuration, conf *dynamic.HTTPConfiguration) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue