This is an automated email from the ASF dual-hosted git repository.
tsato pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from 6e83c1e fix(controller): panic on nil application properties
new b41957b refactor(trait): move bool pointer functions to trait package
new 9a05c2b test(trait): add tests for bool pointer functions
new 1722623 refactor(trait): use bool pointer functions throughout traits
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
addons/tracing/tracing.go | 4 ++--
addons/tracing/tracing_test.go | 3 +--
pkg/trait/affinity.go | 17 ++++++++---------
pkg/trait/affinity_test.go | 14 ++++++--------
pkg/trait/builder.go | 2 +-
pkg/trait/builder_test.go | 3 +--
pkg/trait/camel.go | 2 +-
pkg/trait/camel_test.go | 5 ++---
pkg/trait/container.go | 16 ++++++++--------
pkg/trait/container_probes_test.go | 15 ++++-----------
pkg/trait/cron.go | 19 +++++++++----------
pkg/trait/dependencies.go | 2 +-
pkg/trait/deployer.go | 2 +-
pkg/trait/deployment.go | 4 ++--
pkg/trait/deployment_test.go | 5 ++---
pkg/trait/environment.go | 7 +++----
pkg/trait/error_handler.go | 2 +-
pkg/trait/gc.go | 2 +-
pkg/trait/gc_test.go | 5 ++---
pkg/trait/ingress.go | 4 ++--
pkg/trait/ingress_test.go | 10 ++++------
pkg/trait/init.go | 2 +-
pkg/trait/istio.go | 2 +-
pkg/trait/jolokia.go | 2 +-
pkg/trait/jolokia_test.go | 7 +++----
pkg/trait/jvm.go | 10 +++++-----
pkg/trait/jvm_test.go | 11 +++++------
pkg/trait/kamelets.go | 7 ++++---
pkg/trait/knative.go | 19 +++++++++----------
pkg/trait/knative_service.go | 4 ++--
pkg/trait/logging.go | 10 +++++-----
pkg/trait/openapi.go | 2 +-
pkg/trait/owner.go | 2 +-
pkg/trait/pdb.go | 4 ++--
pkg/trait/pdb_test.go | 3 +--
pkg/trait/platform.go | 8 ++++----
pkg/trait/platform_test.go | 9 +++------
pkg/trait/pod.go | 2 +-
pkg/trait/pod_test.go | 3 +--
pkg/trait/prometheus.go | 6 +++---
pkg/trait/pull_secret.go | 9 ++++-----
pkg/trait/pull_secret_test.go | 16 +++-------------
pkg/trait/quarkus.go | 6 +-----
pkg/trait/quarkus_test.go | 5 ++---
pkg/trait/route.go | 2 +-
pkg/trait/service.go | 15 +++------------
pkg/trait/service_binding.go | 2 +-
pkg/trait/toleration.go | 3 +--
pkg/trait/toleration_test.go | 4 +---
pkg/trait/util.go | 29 +++++++++++++++++++++++++++++
pkg/trait/util_test.go | 21 +++++++++++++++++++++
pkg/util/util.go | 29 -----------------------------
52 files changed, 182 insertions(+), 215 deletions(-)