Don't wait for arvados-dispatch-cloud to come up if not enabled.
[arvados.git] / lib / boot / supervisor.go
index 7e641c62dd4407a69f6fbf7b3eeb6ff2cd97e002..8eb375b874853821944cef1c87bbd650bd6547ee 100644 (file)
@@ -848,7 +848,8 @@ func (super *Supervisor) autofillConfig() error {
                        }
                }
                if super.NoWorkbench1 && svc == &super.cluster.Services.Workbench1 ||
-                       super.NoWorkbench2 && svc == &super.cluster.Services.Workbench2 {
+                       super.NoWorkbench2 && svc == &super.cluster.Services.Workbench2 ||
+                       !super.cluster.Containers.CloudVMs.Enable && svc == &super.cluster.Services.DispatchCloud {
                        // When workbench1 is disabled, it gets an
                        // ExternalURL (so we have a valid listening
                        // port to write in our Nginx config) but no