InstrumentationEnabled propagates back to the client the Instrumentation provided by the transport.
()
| 594 | |
| 595 | // InstrumentationEnabled propagates back to the client the Instrumentation provided by the transport. |
| 596 | func (c *BaseClient) InstrumentationEnabled() elastictransport.Instrumentation { |
| 597 | if tp, ok := c.Transport.(elastictransport.Instrumented); ok { |
| 598 | return tp.InstrumentationEnabled() |
| 599 | } |
| 600 | return nil |
| 601 | } |
| 602 | |
| 603 | // doProductCheck calls f if there as not been a prior successful call to doProductCheck, |
| 604 | // returning nil otherwise. |
no outgoing calls
no test coverage detected