Avoid self parent
This commit is contained in:
parent
70f701aa4e
commit
6d7715c67f
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue