Rename service to reduce ambiguity
This commit is contained in:
parent
b6d93a7f09
commit
1b3f022b2d
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue