bimakw opened a new pull request, #6417: URL: https://github.com/apache/camel-k/pull/6417
## Summary - Refactored duplicate `getIntegrationKit` implementations to use the existing `kubernetes.GetIntegrationKit` utility function - Removed unused `ctrl` import from `pkg/trait/util.go` and `pkg/trait/jvm.go` - Simplified `pkg/cmd/promote.go` to use the centralized utility ## Files Changed - `pkg/trait/util.go`: Use `kubernetes.GetIntegrationKit`, remove unused `ctrl` import - `pkg/trait/jvm.go`: Use `kubernetes.GetIntegrationKit`, remove unused `ctrl` import - `pkg/cmd/promote.go`: Simplify to use `kubernetes.GetIntegrationKit` ## Test Plan - [x] `go build ./pkg/trait/... ./pkg/cmd/...` passes - [ ] CI tests pass Fixes #6413 -- 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]
