Skip to content

Commit 0e51243

Browse files
committed
reverted telemetry connection error
1 parent b74c203 commit 0e51243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/telemetry/TelemetryEventClient.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ func (impl *TelemetryEventClientImpl) checkForOptOut(ctx context.Context, UCID s
690690
if err != nil {
691691
// this should be non-blocking call and should not fail the request for ucid getting
692692
impl.logger.Errorw("check opt-out list failed, rest api error", "ucid", UCID, "err", err)
693+
return false, err
693694
}
694695
flag := response["result"].(bool)
695696
return flag, nil

0 commit comments

Comments
 (0)