Skip to content

Commit

Permalink
Merge pull request #2702 from headlamp-k8s/fix-cluster-loading
Browse files Browse the repository at this point in the history
backend: Fix cluster addition
  • Loading branch information
knrt10 authored Dec 17, 2024
2 parents 0b6bf6e + 79d54d8 commit eb43d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/cmd/stateless.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (c *HeadlampConfig) handleStatelessReq(r *http.Request, kubeConfig string)
key = customObj.CustomName + userID
}
} else if context.Name != clusterName {
contextKey = clusterName
// Skip contexts that don't match the requested cluster name
continue
}

Expand Down

0 comments on commit eb43d49

Please sign in to comment.