mirror of https://github.com/databricks/cli.git
fix tautological check
This commit is contained in:
parent
bb9747e1e2
commit
25e8ae5874
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue