From d2057ddd183163973613a6ce0be01fb656cc799d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 30 May 2017 08:30:54 +0200 Subject: Model: DriverEvalThread_{class} --- lib/Kratos/DFADriver/Model.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Kratos/DFADriver') 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 __ (? [^_]+ ) __ arg (? \d+ ) __ (? [^_]+ ) $ }x ) -- cgit v1.2.3