Skip to content

Commit

Permalink
provisioner static drift (kubernetes-sigs#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Aug 9, 2023
1 parent b611090 commit 36c54ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/controllers/machine/disruption/drift.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func areStaticFieldsDrifted(provisioner *v1alpha5.Provisioner, machine *v1alpha5
return ""
}
if provisionerHash != machineHash {
return StaticDrift
return ProvisionerStaticDrift
}

return ""
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/machine/disruption/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ import (
)

const (
StaticDrift cloudprovider.DriftReason = "StaticDrift"
NodeRequirementDrift cloudprovider.DriftReason = "NodeRequirementDrift"
ProvisionerStaticDrift cloudprovider.DriftReason = "ProvisionerStaticDrift"
NodeRequirementDrift cloudprovider.DriftReason = "NodeRequirementDrift"
)

0 comments on commit 36c54ad

Please sign in to comment.