fix: use all: prefix instead of pattern to include files with underscores as a prefix

Golang patterns don't match hidden files because of legacy reasons, so we need to use a different manner of inclusion.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-03-01 17:42:24 -05:00
1 parent d8946edf91
commit 433c4299f1
1 file changed
+1 -1
+1 -1
View File
@@ -150,7 +150,7 @@ var WorkerLabels = map[string]string{
"node-role.kubernetes.io/worker": "worker", "node-role.kubernetes.io/worker": "worker",
} }
//go:embed templates/* //go:embed all:templates
var templates embed.FS var templates embed.FS
func init() { func init() {