corgea-cli 1.3.2__tar.gz → 1.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/Cargo.lock +1 -1
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/Cargo.toml +1 -1
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/PKG-INFO +1 -1
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/src/scan.rs +1 -1
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/.github/workflows/release.yml +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/.gitignore +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/LICENSE +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/README.md +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/build_release.sh +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/pyproject.toml +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/src/cicd.rs +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/src/config.rs +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/src/log.rs +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/src/login.rs +0 -0
- {corgea_cli-1.3.2 → corgea_cli-1.3.3}/src/main.rs +0 -0
|
@@ -281,7 +281,6 @@ fn upload_scan(config: &Config, paths: Vec<String>, scanner: String, input: Stri
|
|
|
281
281
|
if !response.status().is_success() {
|
|
282
282
|
eprintln!("Failed to upload file {} {}... retrying", response.status(), path);
|
|
283
283
|
std::thread::sleep(std::time::Duration::from_secs(1));
|
|
284
|
-
upload_error_count = upload_error_count + 1;
|
|
285
284
|
attempts += 1;
|
|
286
285
|
} else {
|
|
287
286
|
uploaded_count += 1;
|
|
@@ -297,6 +296,7 @@ fn upload_scan(config: &Config, paths: Vec<String>, scanner: String, input: Stri
|
|
|
297
296
|
}
|
|
298
297
|
|
|
299
298
|
if attempts == 3 && !success {
|
|
299
|
+
upload_error_count += 1;
|
|
300
300
|
eprintln!("Failed to upload file: {} after 3 attempts. skipping...", path);
|
|
301
301
|
}
|
|
302
302
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|