3
0

fix(crm, sam): empty flags fix

This commit is contained in:
Tit Petric
2018-08-23 10:21:56 +00:00
parent 16cc7a11f3
commit dbad271e95
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ func Flags(prefix ...string) {
if len(prefix) == 0 {
panic("crm.Flags() needs prefix on first call")
}
config := new(configuration)
config = new(configuration)
p := func(s string) string {
return prefix[0] + "-" + s

View File

@@ -45,7 +45,7 @@ func Flags(prefix ...string) {
if len(prefix) == 0 {
panic("sam.Flags() needs prefix on first call")
}
config := new(configuration)
config = new(configuration)
(&config.websocket).Init()
p := func(s string) string {