Skip to content

Conversation

@TomatoAres
Copy link
Contributor

What type of PR is this?

/kind feature

What this PR does / why we need it:

User can define customized needUpdate function in provider, default reture false.

Which issue(s) this PR fixes:

Fixes #1484


provider, _ := clusterprovider.GetProvider(cluster.Spec.Type)
if provider == nil {
c.log.Infof("get cluster provider with %s failed", cluster.Spec.Type)
Copy link
Collaborator

@pavlelee pavlelee Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


provider, _ := machineprovider.GetProvider(machine.Spec.Type)
if provider == nil {
c.log.Infof("get machine provider with %s failed", machine.Spec.Type)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this log

@leoryu leoryu merged commit 94e2547 into tkestack:master Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow user add needUpdate func in cluster/machine provider

3 participants