arvindKandpal-ksolves opened a new pull request, #1113:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1113
## What is the purpose of the change
This pull request fixes a "mim" typo to "min" in the `toString()` method of
the `AggregatedMetric` class. The fix has been applied to both the
`flink-kubernetes-operator` and `flink-autoscaler-standalone` modules to ensure
consistency across all modules and prevent broken log/debug outputs. (
FLINK-39691)
## Brief change log
- Fixed the typo `+ ", mim='"` to `+ ", min='"` in
`AggregatedMetric.toString()` inside `flink-kubernetes-operator` and
`flink-autoscaler-standalone`.
- Added a new unit test class `AggregatedMetricTest` in
`flink-kubernetes-operator`, `flink-autoscaler-standalone`, and
`flink-autoscaler` modules to assert that `toString()` produces the correct
field name and to prevent future regressions.
## Verifying this change
This change added tests and can be verified as follows:
- Added `AggregatedMetricTest` under
`src/test/java/runtime/rest/messages/job/metrics/` across the affected modules
to explicitly check the string representation.
- Verified the changes locally by running `mvn clean test` on the modified
modules to ensure all tests pass successfully.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
no
- Core observer or reconciler logic that is regularly executed: no
## Documentation
- Does this pull request introduce a new feature? no
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]