Skip to content
Snippets Groups Projects
Commit f69a9cee3858 authored by Florent Aide's avatar Florent Aide
Browse files

tmpl: fix the hardcoded CARNET projet name

parent 73aff05670f0
No related branches found
No related tags found
No related merge requests found
Pipeline #31079 failed
......@@ -74,7 +74,7 @@
func init() {
parser.NamespaceDelimiter = "-"
parser.EnvNamespaceDelimiter = "_"
parser.EnvNamespace = "CARNET"
parser.EnvNamespace = "{{ upper .Name }}"
if _, err := parser.AddGroup("Configuration", "Configuration file", ConfigFileOption); err != nil {
panic(err)
}
......@@ -110,7 +110,7 @@
bootstrapParser.NamespaceDelimiter = "-"
bootstrapParser.EnvNamespaceDelimiter = "_"
bootstrapParser.EnvNamespace = "CARNET"
bootstrapParser.EnvNamespace = "{{ upper .Name }}"
if _, err := bootstrapParser.AddGroup("Configuration", "Configuration file", ConfigFileOption); err != nil {
panic(err)
}
......
......@@ -7,7 +7,7 @@
"github.com/rs/zerolog"
)
//NewTestLogger creates a TestLogger
// NewTestLogger creates a TestLogger
func NewTestLogger(tb testing.TB) *TestLogger {
return &TestLogger{tb}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment