You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the timeout value was zero, the hook would always error, and there
doesn't seem to be much point to that. And I'm not sure what negative
timeouts would mean. By adding this restriction, we do not limit
useful hook entries, and we give the validation code grounds to warn
users attempting to validate configs which are poorly defined or have
useless hook entries.
Removing the pointer is not strictly required, but keeps up with our
anti-pointer zero-value style (style.md) now that Go's zero-value is
clearly invalid.
Signed-off-by: W. Trevor King <[email protected]>
0 commit comments