From 40ca29cc8c2a9b661d15115e87da4bca587e0426 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 18 Jun 2017 22:51:30 +0100 Subject: [PATCH] also set fqdn undefined in resultset --- lib/App/Netdisco/DB/ResultSet/Admin.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/App/Netdisco/DB/ResultSet/Admin.pm b/lib/App/Netdisco/DB/ResultSet/Admin.pm index 40d995c4..31b2cc71 100644 --- a/lib/App/Netdisco/DB/ResultSet/Admin.pm +++ b/lib/App/Netdisco/DB/ResultSet/Admin.pm @@ -4,8 +4,6 @@ use base 'App::Netdisco::DB::ResultSet'; use strict; use warnings; -use Net::Domain 'hostfqdn'; - __PACKAGE__->load_components(qw/ +App::Netdisco::DB::ExplicitLocking /); @@ -25,7 +23,7 @@ C when devices will be retried once (disabled if 0/undef passed). sub skipped { my ($rs, $backend, $max_deferrals, $retry) = @_; - $backend ||= (hostfqdn || 'localhost'); + $backend ||= 'fqdn-undefined'; $max_deferrals ||= 10_000_000; # not really 'disabled' $retry ||= '100 years'; # not really 'disabled'