From 27a014b44d8f02cdcb2564ede6a6753a23e388f1 Mon Sep 17 00:00:00 2001 From: Tim Tucker Date: Fri, 18 Oct 2024 15:13:31 -0400 Subject: [PATCH] fix: Tensorboard broken on unified install [CM-578] (#10080) --- master/internal/api_tensorboard.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/master/internal/api_tensorboard.go b/master/internal/api_tensorboard.go index f0a8856666e..1d98db8cfba 100644 --- a/master/internal/api_tensorboard.go +++ b/master/internal/api_tensorboard.go @@ -286,6 +286,10 @@ func (a *apiServer) LaunchTensorboard( if err != nil { return nil, err } + + if launchReq.Spec.Base.ExtraEnvVars == nil { + launchReq.Spec.Base.ExtraEnvVars = map[string]string{} + } maps.Copy(launchReq.Spec.Base.ExtraEnvVars, oidcPachydermEnvVars) if launchReq.Spec.Config.Debug {