mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 22:33:02 +02:00
The errors.As(err, &rcErr) + StatusCode == http.StatusNotFound boilerplate was repeated across six handlers. Replace with the IsNotFound helper introduced in restconf/errors.go, dropping the now-unused errors import from each affected file along the way. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>