소스 검색

Ignore the OOB switch.

Joe Clarke 1 년 전
부모
커밋
7ab08bc9e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      www/export_deadman.php

+ 1 - 1
www/export_deadman.php

@@ -147,7 +147,7 @@ try {
 $infra = $targets['targets']['infra'];
 $new_infra = [];
 foreach ($infra as $target) {
-    if (!preg_match('/^sw-[0-9]+/', $target['name'])) {
+    if (!preg_match('/^sw-([0-9]+|oob)/', $target['name'])) {
         array_push($new_infra, $target);
         continue;
     }