We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1285a8 commit 30bc01cCopy full SHA for 30bc01c
code/go/0chain.net/blobbercore/handler/handler.go
@@ -139,7 +139,7 @@ func WithBlobberRegistered(h http.Handler) http.Handler {
139
if !common.IsBlobberRegistered() {
140
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
141
w.WriteHeader(http.StatusServiceUnavailable)
142
- w.Write([]byte("Blobber not registered yet"))
+ _, _ = w.Write([]byte("Blobber not registered yet"))
143
})
144
}
145
0 commit comments