From 685f80988ec53f1dc4f3b3967ed97bafbf80f0bd Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 29 May 2023 21:48:09 +0200 Subject: [PATCH] skip file if its not starting with gluon --- manifest.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest.go b/manifest.go index 3462c57..3838561 100644 --- a/manifest.go +++ b/manifest.go @@ -37,6 +37,10 @@ func split_filenames(files []fs.FileInfo, dir string) []Files { for i := range files { current_name := files[i].Name() split := strings.Split(current_name, "-") + if split[0] != "gluon" { + fmt.Println("skipping ", current_name) + continue + } split_name := len(split) - 1 // Routername router_name := strings.Join(split[5:split_name], "-")