spring-cloud / spring-cloud-deployer-kubernetes

The Spring Cloud Deployer implementation for Kubernetes
Apache License 2.0
157 stars 98 forks source link

Improve readability using stream chaining #487

Closed LOG-INFO closed 2 years ago

LOG-INFO commented 2 years ago

Thanks for resolving https://github.com/spring-cloud/spring-cloud-deployer-kubernetes/pull/482 ! :D

I suggest a little refactoring for readability.

I checked the tests testCommandLineArgsOverridesExistingProperties(), testCommandLineArgsExcludesMalformedProperties(), testCommandLineArgsNoAssignment() in DefaultContainerFactoryTests were passed.

cc. @onobc @cppwfs