Skip to content

Commit e66c557

Browse files
debug unit test case
1 parent f68797d commit e66c557

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/commands/scan.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,6 +2094,8 @@ func uploadZip(uploadsWrapper wrappers.UploadsWrapper, zipFilePath string, unzip
20942094
// check for INCREASE_FILE_UPLOAD_LIMIT feature flag
20952095
flagResponse, _ := wrappers.GetSpecificFeatureFlag(featureFlagsWrapper, wrappers.IncreaseFileUploadLimit)
20962096

2097+
fmt.Println("flagResponse.Status: ", flagResponse.Status)
2098+
fmt.Println("fileInfo.Size(): ", fileInfo.Size())
20972099
if flagResponse.Status && fileInfo.Size() > MaxSizeBytes {
20982100
// File size >5GB, proceed with multipart upload
20992101
logger.PrintIfVerbose("File size >5GB and INCREASE_FILE_UPLOAD_LIMIT flag is enabled,hence uploading file in multiple parts...")

0 commit comments

Comments
 (0)