summaryrefslogtreecommitdiff
path: root/lib/Kratos/DFADriver
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kratos/DFADriver')
-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
)