Recent runs || View in Spyglass
PR | justinsb: Simple non-image redirect server |
Result | FAILURE |
Tests | 0 failed / 0 succeeded |
Started | |
Elapsed | 2m43s |
Revision | e1b91bc028e0044c50565dc28e6fb65482072148 |
Refs |
126 |
... skipping 163 lines ... go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/prometheus/procfs v0.8.0 go: downloading google.golang.org/protobuf v1.28.1 go: downloading github.com/mattn/go-runewidth v0.0.13 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 go: downloading github.com/rivo/uniseg v0.2.0 cmd/redirectserver/app/handlers.go:107:18: Error return value of `s.serveDirectly` is not checked (errcheck) s.serveDirectly(w, r) ^ cmd/redirectserver/app/handlers.go:156:10: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive) } else { klog.V(2).ErrorS(err, "error reading object in canonical location", "url", u) http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError) return err } Verifying generated ... One or more verify checks failed! See output above... make: *** [Makefile:104: verify] Error 1