Skip to content

Commit

Permalink
fix: Tensorboard broken on unified install [CM-578] (#10080)
Browse files Browse the repository at this point in the history
  • Loading branch information
varlogtim authored Oct 18, 2024
1 parent bdb56a4 commit 27a014b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions master/internal/api_tensorboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 27a014b

Please sign in to comment.