Commit 35f14a9
committed
Remove unnecessary 'none' check from ip6cidr validation
The ip6cidr field does not have a default value of 'none' (unlike aclid),
so checking for != none is unnecessary and could cause confusion if a user
actually tries to set ip6cidr = "none". The GetOk() check is sufficient
to determine if the field has been set.1 parent f26d076 commit 35f14a9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments