make role match url

This commit is contained in:
davidnewhall2
2020-02-02 23:53:48 -08:00
parent 57283bf2c4
commit 3259ab1b73
+1 -1
View File
@@ -173,7 +173,7 @@ func (u *InputUnifi) setDefaults(c *Controller, useDefaults bool) {
c.URL = defaultURL
}
if c.Role == "" {
if c.Role == defaultURL {
c.Role = c.URL
}