Skip to content

Commit

Permalink
fix error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
consolethinks committed Aug 26, 2024
1 parent 90d97b0 commit 3e587d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/commands/datasetIngestor.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ For Windows you need instead to specify -user username:password on the command l
if err != nil {
log.Fatalf("Can't gather the filelist of \"%s\"", datasetSourceFolder)
}
log.Println("Filelist collected.")
log.Println("File list collected.")
//log.Printf("full fileListing: %v\n Start and end time: %s %s\n ", fullFileArray, startTime, endTime)
log.Printf("The dataset contains %v files with a total size of %v bytes.\n", numFiles, totalSize)

Expand Down
2 changes: 1 addition & 1 deletion datasetIngestor/ingestDataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func createOrigDatablocks(client *http.Client, APIServer string, fullFileArray [

if totalFiles > TOTAL_MAXFILES {
return fmt.Errorf(
"dataset exceeds (%v) the maximum number of files per dataset , which cannot currently be handled by the archiving system (%v)",
"dataset exceeds the maximum number of files that can be handled by the archiving system per dataset (dataset: %v, max: %v)",
totalFiles, TOTAL_MAXFILES)
}

Expand Down

0 comments on commit 3e587d0

Please sign in to comment.