mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
Implement review suggestions
This commit is contained in:
parent
b60427c68b
commit
1178749747
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ func registerConfig() error {
|
|||
config.UnitAnnotation: "seconds",
|
||||
config.CategoryAnnotation: "General",
|
||||
},
|
||||
ValidationRegex: `^[1-9][0-9]{1,5}?$`,
|
||||
ValidationRegex: `^[1-9][0-9]{1,5}$`,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
@ -166,7 +166,7 @@ The format is: "protocol://ip:port?parameter=value¶meter=value"
|
|||
config.UnitAnnotation: "seconds",
|
||||
config.CategoryAnnotation: "Servers",
|
||||
},
|
||||
ValidationRegex: `^[1-9][0-9]{1,5}?$`,
|
||||
ValidationRegex: `^[1-9][0-9]{1,5}$`,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Reference in a new issue