From: Lucas Di Pentima Date: Mon, 16 Mar 2020 13:08:15 +0000 (-0300) Subject: 16029: Makes gofmt happy. X-Git-Tag: 2.1.0~268^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/414bb787d6be54225a546e100478a97b65b61199?ds=sidebyside 16029: Makes gofmt happy. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/lib/boot/supervisor.go b/lib/boot/supervisor.go index bc2e4256be..bcf87812ab 100644 --- a/lib/boot/supervisor.go +++ b/lib/boot/supervisor.go @@ -539,12 +539,12 @@ func (super *Supervisor) autofillConfig(cfg *arvados.Config) error { continue } if svc.ExternalURL.Host == "" { - if (svc == &cluster.Services.Controller || + if svc == &cluster.Services.Controller || svc == &cluster.Services.GitHTTP || svc == &cluster.Services.Keepproxy || svc == &cluster.Services.WebDAV || svc == &cluster.Services.WebDAVDownload || - svc == &cluster.Services.Workbench1) { + svc == &cluster.Services.Workbench1 { svc.ExternalURL = arvados.URL{Scheme: "https", Host: fmt.Sprintf("%s:%s", super.ListenHost, nextPort(super.ListenHost))} } else if svc == &cluster.Services.Websocket { svc.ExternalURL = arvados.URL{Scheme: "wss", Host: fmt.Sprintf("%s:%s", super.ListenHost, nextPort(super.ListenHost))}