func (r *StateRestore) EvalRestore(eval *structs.Evaluation) error {
	if err := r.txn.Insert("evals", eval); err != nil {
		return fmt.Errorf("eval insert failed: %v", err)
	}
	return nil
}
// EvalRestore is used to restore an evaluation
EvalRestore is used to restore an evaluation
// EvalRestore is used to restore an evaluation
func (r *StateRestore) EvalRestore(eval *structs.Evaluation) error {
	if err := r.txn.Insert("evals", eval); err != nil {
		return fmt.Errorf("eval insert failed: %v", err)
	}
	return nil
}
func ( r * StateRestore ) EvalRestore ( eval * structs . Evaluation ) error { if err := r . txn . Insert ( " " , eval ) ; err != nil { return fmt . Errorf ( " " , err ) } return nil }
EvalRestore is used to restore an evaluation
EvalRestore is used to restore an evaluation