Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Nov 15, 2024
1 parent 21a86cf commit 902a5f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions autoscaler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ func main() {
setupLog.Error(err, "unable to start manager")
os.Exit(1)
}
// Ver < 1.23
var migrationClient client.Client
// Determine if we need to use a non-caching client based on the Kubernetes version, version <1.23 has issues when using caching client

// The labaling was for ver 1.0.91, migration is not releavant for old k8s versions which couln't run.
// This is the reason we skip it for versions < 1.23 (Also, versions < 1.23 require a non-caching client and API chane)
Expand Down

0 comments on commit 902a5f8

Please sign in to comment.