We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need to rename some functions in the controller (to be renamed edl) package. The motivation comes from the current main function:
https://github.com/PaddlePaddle/cloud/blob/dcebcdf820d4a7aa13e815e75d3a17f705794ec1/go/cmd/autoscaler/autoscaler.go#L51-L59
cluster := controller.NewCluster(clientset) as := controller.New(cluster, controller.WithMaxLoadDesired(*maxLoadDesired)) controller, err := controller.NewController(client, clientset, as) if err != nil { panic(err) }
should be
ctl, err = edl.New(client, clientset, *maxLoadDesired)
as
controller.NewController
edl.New
controller.New
edl.newAutoscaler
controller.NewCluster
edl.newCluster
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need to rename some functions in the controller (to be renamed edl) package. The motivation comes from the current main function:
https://github.com/PaddlePaddle/cloud/blob/dcebcdf820d4a7aa13e815e75d3a17f705794ec1/go/cmd/autoscaler/autoscaler.go#L51-L59
should be
as
controller.NewController
intoedl.New
,controller.New
intoedl.newAutoscaler
, which should be called byedl.New
,controller.NewCluster
intoedl.newCluster
, which should be called byedl.New
too.The text was updated successfully, but these errors were encountered: