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:
1 parent
d8946edf91
commit
433c4299f1
1 file changed
+1
-1
@@ -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() {
|
||||||
|
|||||||
Reference in new issue
Block a user