Skip to content

Instantly share code, notes, and snippets.

@jktomer
Last active February 5, 2020 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jktomer/714ecddde43123f62adcd3d654c6867a to your computer and use it in GitHub Desktop.
Save jktomer/714ecddde43123f62adcd3d654c6867a to your computer and use it in GitHub Desktop.
src/kubernetes/pkg/kubelet/stats/cri_stats_provider.go:665:27: integer division cast to float found "float64(time.Second / time.Nanosecond)"
src/kubernetes/pkg/controller/podautoscaler/horizontal_test.go:2679:21: integer division cast to float found "float64(totalRequestedCPUOfAllPods / int32(totalUsedCPUOfAllPods))"
src/kubernetes/pkg/controller/podautoscaler/legacy_horizontal_test.go:986:21: integer division cast to float found "float64(totalRequestedCPUOfAllPods / int32(totalUsedCPUOfAllPods))"
src/kubernetes/pkg/controller/podautoscaler/legacy_replica_calculator_test.go:612:21: integer division cast to float found "float64(totalRequestedCPUOfAllPods / int32(totalUsedCPUOfAllPods))"
src/kubernetes/pkg/controller/podautoscaler/replica_calculator_test.go:1261:21: integer division cast to float found "float64(totalRequestedCPUOfAllPods / int32(totalUsedCPUOfAllPods))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment