cloud/bmaas/bmdb/webug: rename .html to .gohtml
IntelliJ doesn't like overriding the type manually,
so lets just stick to their standard.
Change-Id: Ie533d884b06c62d6da6b8504051737b239fb8489
Reviewed-on: https://review.monogon.dev/c/monogon/+/1645
Reviewed-by: Serge Bazanski <serge@monogon.tech>
Tested-by: Jenkins CI
diff --git a/cloud/bmaas/bmdb/webug/webug.go b/cloud/bmaas/bmdb/webug/webug.go
index 91888d5..b377499 100644
--- a/cloud/bmaas/bmdb/webug/webug.go
+++ b/cloud/bmaas/bmdb/webug/webug.go
@@ -23,9 +23,9 @@
)
var (
- //go:embed templates/*html
+ //go:embed templates/*.gohtml
templateFS embed.FS
- templates = template.Must(template.New("base.html").Funcs(templateFuncs).ParseFS(templateFS, "templates/*"))
+ templates = template.Must(template.New("base.gohtml").Funcs(templateFuncs).ParseFS(templateFS, "templates/*"))
)
// server holds the state of an active webug interface.