summaryrefslogtreecommitdiff
path: root/lib/Kratos
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-05-30 08:30:54 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-05-30 08:30:54 +0200
commitd2057ddd183163973613a6ce0be01fb656cc799d (patch)
tree7d773995b663cca87fa3b927190aa4b96a1bdf54 /lib/Kratos
parent8e3db3507ef0d3f11d98628a8e36468cefa7df73 (diff)
Model: DriverEvalThread_{class}
Diffstat (limited to 'lib/Kratos')
-rw-r--r--lib/Kratos/DFADriver/Model.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kratos/DFADriver/Model.pm b/lib/Kratos/DFADriver/Model.pm
index 63d4dde..d97bde9 100644
--- a/lib/Kratos/DFADriver/Model.pm
+++ b/lib/Kratos/DFADriver/Model.pm
@@ -122,8 +122,8 @@ sub new_from_repo {
}
}
- if ( exists $repo->{class}{DriverEvalThread} ) {
- for my $var ( keys %{ $repo->{class}{DriverEvalThread}{variable} } ) {
+ if ( exists $repo->{class}{"DriverEvalThread_${class_name}"} ) {
+ for my $var ( keys %{ $repo->{class}{"DriverEvalThread_${class_name}"}{variable} } ) {
if ( $var
=~ m{ ^ testVal __ (?<fun> [^_]+ ) __ arg (?<index> \d+ ) __ (?<descr> [^_]+ ) $ }x
)