mirror of
https://github.com/restic/rest-server.git
synced 2026-10-15 15:10:07 -07:00
fix comment typos
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ func httpDefaultError(w http.ResponseWriter, code int) {
|
||||
http.Error(w, http.StatusText(code), code)
|
||||
}
|
||||
|
||||
// ServeHTTP makes this server an http.Handler. It handlers the administrative
|
||||
// ServeHTTP makes this server an http.Handler. It handles the administrative
|
||||
// part of the request (figuring out the filesystem location, performing
|
||||
// authentication, etc) and then passes it on to repo.Handler for actual
|
||||
// REST API processing.
|
||||
|
||||
+1
-1
@@ -810,7 +810,7 @@ func (h *Handler) internalServerError(w http.ResponseWriter, err error) {
|
||||
httpDefaultError(w, http.StatusInternalServerError)
|
||||
}
|
||||
|
||||
// internalServerError is called to report an error that occurred while
|
||||
// fileAccessError is called to report an error that occurred while
|
||||
// accessing a file. If the does not exist, the corresponding http status code
|
||||
// will be returned to the client. All other errors are passed on to
|
||||
// internalServerError
|
||||
|
||||
Reference in New Issue
Block a user