Skip to content

Commit

Permalink
feat(platform): update EnsureCluster to EnsureClusterAddressReal (#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
wl-chen committed Sep 29, 2022
1 parent 4ba2d41 commit 480c60c
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) EnsureClusterAddressReal(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 480c60c

Please sign in to comment.