This commit is contained in:
1 parent
b6d93a7f09
commit
1b3f022b2d
2 files changed
+4
-4
No files matched your search
@@ -61,10 +61,10 @@ func (widget *dnsStatsWidget) initialize() error {
|
||||
|
||||
switch widget.Service {
|
||||
case "adguard":
|
||||
case "pihole6":
|
||||
case "pihole-v6":
|
||||
case "pihole":
|
||||
default:
|
||||
return errors.New("service must be one of: adguard, pihole6, pihole")
|
||||
return errors.New("service must be one of: adguard, pihole-v6, pihole")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user