X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f42105b1b59d1b5da764f34e6eb6a1137d7e1cb..a3d2b8e1de5b8c785846ddc57ae9a4c02bc51adc:/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go diff --git a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go index ff1077fae6..84105e1fc7 100644 --- a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go +++ b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go @@ -114,6 +114,8 @@ func (disp *Dispatcher) configure(prog string, args []string) error { return fmt.Errorf("config error: %s", err) } + disp.logger = disp.logger.WithField("ClusterID", disp.cluster.ClusterID) + disp.Client.APIHost = disp.cluster.Services.Controller.ExternalURL.Host disp.Client.AuthToken = disp.cluster.SystemRootToken disp.Client.Insecure = disp.cluster.TLS.Insecure