()
| 184 | } |
| 185 | |
| 186 | func (r *remoteReporter) isClosed() bool { |
| 187 | select { |
| 188 | case <-r.closed: |
| 189 | return true |
| 190 | default: |
| 191 | return false |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | // See the corresponding test in telemetry_test.go for a truth table. |
| 196 | func ShouldReportTelemetryDisabled(recordedTelemetryEnabled *bool, telemetryEnabled bool) bool { |
no outgoing calls
no test coverage detected