Skip to content

Commit

Permalink
feat(platform): update EnsureCluster to EnsureClusterConnected
Browse files Browse the repository at this point in the history
  • Loading branch information
wl-chen committed Sep 28, 2022
1 parent b850a39 commit acd427d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/provider/baremetal/cluster/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ func (p *Provider) EnsureAnywhereAddons(ctx context.Context, c *v1.Cluster) erro
}

// update cluster to connect remote cluster apiserver
func (p *Provider) EnsureModifyCluster(ctx context.Context, c *v1.Cluster) error {
func (p *Provider) EnsureClusterConnected(ctx context.Context, c *v1.Cluster) error {
var hubAPIServerURL *url.URL
var err error
if urlValue, ok := c.Annotations[platformv1.HubAPIServerAnno]; ok {
Expand Down

0 comments on commit acd427d

Please sign in to comment.