fix(crm, sam): empty flags fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user