func (r *StateRestore) JobSummaryRestore(jobSummary *structs.JobSummary) error {
	if err := r.txn.Insert("job_summary", jobSummary); err != nil {
		return fmt.Errorf("job summary insert failed: %v", err)
	}
	return nil
}
// JobSummaryRestore is used to restore a job summary
JobSummaryRestore is used to restore a job summary
// JobSummaryRestore is used to restore a job summary
func (r *StateRestore) JobSummaryRestore(jobSummary *structs.JobSummary) error {
	if err := r.txn.Insert("job_summary", jobSummary); err != nil {
		return fmt.Errorf("job summary insert failed: %v", err)
	}
	return nil
}
func ( r * StateRestore ) JobSummaryRestore ( jobSummary * structs . JobSummary ) error { if err := r . txn . Insert ( " " , jobSummary ) ; err != nil { return fmt . Errorf ( " " , err ) } return nil }
JobSummaryRestore is used to restore a job summary
JobSummaryRestore is used to restore a job summary