feat(eda): capture schedule firings on a reserved source for bindings

This commit is contained in:
sam committed 2026-10-26 00:38:55 +11:00
1 parent b87365ad26
commit d1d6301fc2
9 files changed
+170 -1

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ func (s *Server) handleSourceCreate(w http.ResponseWriter, r *http.Request) {
return
}
src, err := source.New(req.Path)
if errors.Is(err, source.ErrInvalidPath) {
if errors.Is(err, source.ErrInvalidPath) || errors.Is(err, source.ErrReservedPath) {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}