projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4550409
)
15954: Don't assign ports for dispatchcloud in test mode.
author
Tom Clegg <tom@tomclegg.ca>
Mon, 27 Jan 2020 15:22:02 +0000
(10:22 -0500)
committer
Tom Clegg <tom@tomclegg.ca>
Mon, 27 Jan 2020 15:22:02 +0000
(10:22 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
lib/boot/cmd.go
patch
|
blob
|
history
diff --git
a/lib/boot/cmd.go
b/lib/boot/cmd.go
index 8d20e5f6c66792cb052873fe7d41404d524ec0b3..361f645059c91afad3aae82392db06138bc9676a 100644
(file)
--- a/
lib/boot/cmd.go
+++ b/
lib/boot/cmd.go
@@
-366,6
+366,9
@@
func (boot *bootCommand) autofillConfig(cfg *arvados.Config, log logrus.FieldLog
&cluster.Services.WebDAVDownload,
&cluster.Services.Websocket,
} {
+ if svc == &cluster.Services.DispatchCloud && boot.clusterType == "test" {
+ continue
+ }
if len(svc.InternalURLs) == 0 {
port++
svc.InternalURLs = map[arvados.URL]arvados.ServiceInstance{