Skip to content

Commit

Permalink
Fix Cluster Manager Defaulting (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray authored Apr 10, 2024
1 parent bdcca2e commit ed7e925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/unikorn/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn

type: application

version: v0.2.1
appVersion: v0.2.1
version: v0.2.2
appVersion: v0.2.2

icon: https://raw.githubusercontent.com/unikorn-cloud/unikorn/main/icons/default.png
2 changes: 1 addition & 1 deletion pkg/server/handler/cluster/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (c *Client) Create(ctx context.Context, organizationName, projectName strin
// Implicitly create the controller manager.
clusterManagerName := "default"

if options.ClusterManager == nil {
if options.ClusterManager != nil {
clusterManagerName = *options.ClusterManager
}

Expand Down

0 comments on commit ed7e925

Please sign in to comment.