Skip to content

Commit eb43d49

Browse files
author
Kautilya Tripathi
authored
Merge pull request #2702 from headlamp-k8s/fix-cluster-loading
backend: Fix cluster addition
2 parents 0b6bf6e + 79d54d8 commit eb43d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/cmd/stateless.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (c *HeadlampConfig) handleStatelessReq(r *http.Request, kubeConfig string)
120120
key = customObj.CustomName + userID
121121
}
122122
} else if context.Name != clusterName {
123-
contextKey = clusterName
123+
// Skip contexts that don't match the requested cluster name
124124
continue
125125
}
126126

0 commit comments

Comments
 (0)