mirror of https://github.com/k3s-io/k3s
![]() Previously `pkg.controller.podautoscaler.UnsafeConvertToVersion` was exported. However, it was never used outside of the `podautoscaler` package. Make it private to prevent confusion. Additionally, move the two private functions in `horizontal.go` to be with the other private functions at the bottom of the file - imho its more readable than having them directly at the top of the file, before the public type and function definitions. |
||
---|---|---|
.. | ||
metrics | ||
BUILD | ||
OWNERS | ||
doc.go | ||
horizontal.go | ||
horizontal_test.go | ||
legacy_horizontal_test.go | ||
legacy_replica_calculator_test.go | ||
rate_limitters.go | ||
replica_calculator.go | ||
replica_calculator_test.go |