aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/public/distro-tree
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2018-03-21 10:43:33 +0100
committerGitHub <noreply@github.com>2018-03-21 10:43:33 +0100
commit4eaeb1d7dc6095a2eec1b4711de94f907654547e (patch)
tree5b4b00409761f44227b9294e0c62f059ab68fae9 /web/api/public/distro-tree
parent0016b6612e79cc5b115aae11c7f37ec2a27420e1 (diff)
parentdfc74df8f82d7c295319f3e197cb2d37a8ee6ddd (diff)
Merge pull request #167 from olemathias/master
Varnish is now installed in the ansible install + chart colors
Diffstat (limited to 'web/api/public/distro-tree')
-rwxr-xr-xweb/api/public/distro-tree2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/public/distro-tree b/web/api/public/distro-tree
index 5d93e1b..cff35ec 100755
--- a/web/api/public/distro-tree
+++ b/web/api/public/distro-tree
@@ -12,7 +12,7 @@ use Data::Dumper;
$nms::web::cc{'max-age'} = "20";
-my $q2 = $nms::web::dbh->prepare('select sysname,distro_phy_port,distro_name from switches where placement is not null and distro_name is not null and distro_phy_port is not null');
+my $q2 = $nms::web::dbh->prepare('select sysname,distro_phy_port,distro_name from switches where placement is not null and distro_name is not null and distro_phy_port is not null and deleted = false');
$q2->execute();
while (my $ref = $q2->fetchrow_hashref()) {