Skip to content

Commit

Permalink
fix(platform): set cls to wrapper for no-crd mode (#2068)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu committed Aug 22, 2022
1 parent 6b8e4f4 commit 49a5902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/platform/controller/cluster/cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ func (c *Controller) onCreate(ctx context.Context, cluster *platformv1.Cluster)
if err != nil {
return err
}
} else {
clusterWrapper.Cluster = cls
}
}

Expand Down

0 comments on commit 49a5902

Please sign in to comment.