Skip to content

Commit

Permalink
modify commands to reflect naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
consolethinks committed Aug 19, 2024
1 parent a602c5e commit 41fdaf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/commands/datasetArchiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ For further help see "` + MANUAL + `"`,

log.Printf("You chose to archive the new datasets\n")
log.Printf("Submitting Archive Job for the ingested datasets.\n")
jobId, err := datasetUtils.CreateJob(client, APIServer, user, archivableDatasets, &tapecopies)
jobId, err := datasetUtils.CreateArchivalJob(client, APIServer, user, archivableDatasets, &tapecopies)
if err != nil {
log.Fatalf("Couldn't create a job: %s\n", err.Error())
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/commands/datasetIngestor.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ For Windows you need instead to specify -user username:password on the command l
log.Printf("Submitting Archive Job for the ingested datasets.\n")
// TODO: change param type from pointer to regular as it is unnecessary
// for it to be passed as pointer
_, err := datasetUtils.CreateJob(client, APIServer, user, datasetList, &tapecopies)
_, err := datasetUtils.CreateArchivalJob(client, APIServer, user, datasetList, &tapecopies)
if err != nil {
color.Set(color.FgRed)
log.Printf("Could not create the archival job for the ingested datasets: %s", err.Error())
Expand Down

0 comments on commit 41fdaf3

Please sign in to comment.