You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The error message produced for scalar fields in the boundary check for floats and ints has inconsistent capitalization of the field name between runs of the code-gen. This results in superfluous changes when making unrelated changes to controllers.
Steps to reproduce
Pull the latest changes for the ecs-controller repo
In code-generation re-run make build-controller
See that some float/int field names will have changed in error messages for the boundary check. Note, the individual fields that have changed aren't consistent.
example field name change.
return nil, fmt.Errorf("error: field iops is of type int32") -> return nil, fmt.Errorf("error: field Iops is of type int32")
Expected outcome
No changes besides ack-generate-meta.yaml are made to the controller.
Environment
Kubernetes version: N/A
Using EKS (yes/no), if so version? N/A
AWS service targeted (S3, RDS, etc.) ECS, but this affects many controllers.