fix tautological check

This commit is contained in:
Shreyas Goenka 2024-12-20 12:17:37 +05:30
parent bb9747e1e2
commit 25e8ae5874
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func Flush(ctx context.Context, apiClient DatabricksApiClient) {
// //
// Note: This will result in server side duplications but that's fine since // Note: This will result in server side duplications but that's fine since
// we can always deduplicate in the data pipeline itself. // we can always deduplicate in the data pipeline itself.
if resp != nil && len(l.protoLogs) > int(resp.NumProtoSuccess) { if len(l.protoLogs) > int(resp.NumProtoSuccess) {
log.Debugf(ctx, "Not all logs were successfully sent. Retrying...") log.Debugf(ctx, "Not all logs were successfully sent. Retrying...")
continue continue
} }