projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16552: Option to get TLS certificates automatically from LE.
[arvados.git]
/
lib
/
service
/
cmd.go
diff --git
a/lib/service/cmd.go
b/lib/service/cmd.go
index 4b640c4e4773225ccb0e9312bc18a436552e9cfb..20441c2a6c4534eb697a85bfc4c369e64ae0aad9 100644
(file)
--- a/
lib/service/cmd.go
+++ b/
lib/service/cmd.go
@@
-159,7
+159,7
@@
func (c *command) RunCommand(prog string, args []string, stdin io.Reader, stdout
Addr: listenURL.Host,
}
if listenURL.Scheme == "https" || listenURL.Scheme == "wss" {
Addr: listenURL.Host,
}
if listenURL.Scheme == "https" || listenURL.Scheme == "wss" {
- tlsconfig, err :=
tlsConfigWithCertUpdater
(cluster, logger)
+ tlsconfig, err :=
makeTLSConfig
(cluster, logger)
if err != nil {
logger.WithError(err).Errorf("cannot start %s service on %s", c.svcName, listenURL.String())
return 1
if err != nil {
logger.WithError(err).Errorf("cannot start %s service on %s", c.svcName, listenURL.String())
return 1