Introduce import job flag

This commit is contained in:
Jan Eitzinger
2022-09-13 15:20:07 +02:00
parent 7cea964271
commit 520c814e3b
3 changed files with 128 additions and 20 deletions

View File

@@ -92,11 +92,6 @@ func GetStatistics(job *schema.Job) (map[string]schema.JobStatistics, error) {
return metaFile.Statistics, nil
}
func Import(job *schema.JobMeta, jobData *schema.JobData) error {
return ar.ImportJob(job, jobData)
}
// If the job is archived, find its `meta.json` file and override the tags list
// in that JSON file. If the job is not archived, nothing is done.
func UpdateTags(job *schema.Job, tags []*schema.Tag) error {