(c camelv1.IntegrationsGetter, it *v1.Integration, active bool)
| 132 | } |
| 133 | |
| 134 | func (o *debugCmdOptions) toggleDebug(c camelv1.IntegrationsGetter, it *v1.Integration, active bool) (*v1.Integration, error) { |
| 135 | it = o.toggle(it, active) |
| 136 | |
| 137 | return c.Integrations(it.Namespace).Update(o.Context, it, metav1.UpdateOptions{}) |
| 138 | } |
| 139 | |
| 140 | func (o *debugCmdOptions) toggle(it *v1.Integration, active bool) *v1.Integration { |
| 141 | if it.Spec.Traits.JVM == nil { |
no test coverage detected