17014: controller handles container requests
[arvados.git] / lib / boot / supervisor.go
index f2e715a76669ed7ea1db21a7720b3fbd382cb8a3..752466c2a2030d9ff5db66bbb49cfaf1e1646153 100644 (file)
@@ -59,6 +59,8 @@ type Supervisor struct {
        environ    []string // for child processes
 }
 
+func (super *Supervisor) Cluster() *arvados.Cluster { return super.cluster }
+
 func (super *Supervisor) Start(ctx context.Context, cfg *arvados.Config, cfgPath string) {
        super.ctx, super.cancel = context.WithCancel(ctx)
        super.done = make(chan struct{})