fleaz / CptHook

Receive webhooks from different applications and post them to IRC channels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitlab Input: Can't use IRC Channel names with a dot in the name

fleaz opened this issue · comments

* 'groups[mag][0]' expected type 'string', got unconvertible type 'map[string]interface {}'
FATA[0000] Failed to unmarshal channelmapping into struct

Config:

gitlab:
        enabled: true
        default: "#mag.lab"
        groups:
            "mag.lab":
                - "#mag.lab"
            "fffd":
                - "#fffd"

The problem appears to be the "mag.lab" in line 5. Without the dot everything works as expected

Appears to be a issue in viper: spf13/viper#324