diff options
author | Kristian Lyngstøl <kly@kly.no> | 2018-03-21 10:43:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 10:43:33 +0100 |
commit | 4eaeb1d7dc6095a2eec1b4711de94f907654547e (patch) | |
tree | 5b4b00409761f44227b9294e0c62f059ab68fae9 /web/api/read/distro-management | |
parent | 0016b6612e79cc5b115aae11c7f37ec2a27420e1 (diff) | |
parent | dfc74df8f82d7c295319f3e197cb2d37a8ee6ddd (diff) |
Merge pull request #167 from olemathias/master
Varnish is now installed in the ansible install + chart colors
Diffstat (limited to 'web/api/read/distro-management')
-rwxr-xr-x | web/api/read/distro-management | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/read/distro-management b/web/api/read/distro-management index 2aa3273..7fbebef 100755 --- a/web/api/read/distro-management +++ b/web/api/read/distro-management @@ -19,7 +19,7 @@ my $q2; $nms::web::cc{'max-age'} = "5"; $nms::web::cc{'stale-while-revalidate'} = "30"; -$q2 = $nms::web::dbh->prepare('SELECT distro_name,sysname,subnet4,subnet6,traffic_vlan,distro_phy_port FROM switches WHERE placement is not null AND distro_name is not null AND distro_phy_port is not null'); +$q2 = $nms::web::dbh->prepare('SELECT distro_name,sysname,subnet4,subnet6,traffic_vlan,distro_phy_port 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()) { |