From a4e3ca16f1ee7028fa3a9e4fba8e7cac22945a20 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Fri, 2 Aug 2019 12:47:19 -0700 Subject: [PATCH] fix check for log line --- lib/Conch/ValidationSystem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Conch/ValidationSystem.pm b/lib/Conch/ValidationSystem.pm index 64e40370f..fbef5a46a 100644 --- a/lib/Conch/ValidationSystem.pm +++ b/lib/Conch/ValidationSystem.pm @@ -356,7 +356,7 @@ sub run_validation_plan ($self, %options) { $validator->validation_results; $self->log->debug('validation '.$validation->name.' returned no results for device id '.$device->id) - if not @validation_results; + if not $validator->validation_results; } # maybe no validations ran? this is a problem.