fleaz/CptHook

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

fleaz opened this issue · 2 comments

fleaz commented
* '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

fleaz commented

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

fleaz commented

Fixed in 4dd163e