Avoid self parent

This commit is contained in:
alejandro-campos 2020-03-24 09:56:43 +01:00
parent 70f701aa4e
commit 6d7715c67f
1 changed files with 12 additions and 0 deletions

View File

@ -612,6 +612,12 @@ sub get_steps {
$desc = 'Step unreachable';
}
my $name = $preffix . $host;
if (defined $previous && $name eq $previous) {
next;
}
push @modules, {
name => $preffix . $host,
type => "generic_data",
@ -710,6 +716,12 @@ sub get_steps {
$desc = 'Step unreachable';
}
my $name = $preffix . $host;
if (defined $previous && $name eq $previous) {
next;
}
push @modules, {
name => $preffix . $host,
type => "generic_data",