Skip to content

Commit

Permalink
Follow up #2440: fix autoscaler typo (#2442)
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi authored Feb 13, 2025
1 parent f4d438e commit 3bea189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions autoscaler/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ import (
odigosv1 "github.com/odigos-io/odigos/api/odigos/v1alpha1"
"github.com/odigos-io/odigos/common"

"github.com/odigos-io/odigos/autoscaler"
"github.com/odigos-io/odigos/autoscaler/controllers"
"github.com/odigos-io/odigos/autoscaler/controllers/actions"
commonconfig "github.com/odigos-io/odigos/autoscaler/controllers/common"
controllerconfig "github.com/odigos-io/odigos/autoscaler/controllers/controller_config"
"github.com/odigos-io/odigos/autoscaler/controllers/gateway"
"github.com/odigos-io/odigos/autoscaler"

//+kubebuilder:scaffold:imports

Expand Down Expand Up @@ -207,7 +207,7 @@ func main() {
// This is the reason we skip it for versions < 1.23 (Also, versions < 1.23 require a non-caching client and API chane)
if k8sVersion != nil && k8sVersion.GreaterThan(version.MustParse("v1.23")) {
// Use the cached client for versions >= 1.23
err = autosacler.MigrateCollectorsWorkloadToNewLabels(context.Background(), mgr.GetClient(), odigosNs)
err = autoscaler.MigrateCollectorsWorkloadToNewLabels(context.Background(), mgr.GetClient(), odigosNs)
if err != nil {
setupLog.Error(err, "unable to migrate collectors workload to new labels")
os.Exit(1)
Expand Down
2 changes: 1 addition & 1 deletion autoscaler/migration.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package autosacler
package autoscaler

import (
"context"
Expand Down

0 comments on commit 3bea189

Please sign in to comment.