1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #17859 from liusdu/remove-rebundent

remove unnecessary logs from daemon
This commit is contained in:
Michael Crosby 2015-11-13 16:45:30 -08:00
commit 1f53bf9097

View file

@ -13,7 +13,6 @@ import (
"github.com/docker/distribution/registry/api/errcode"
"github.com/docker/docker/api"
"github.com/docker/docker/pkg/version"
"github.com/docker/docker/utils"
)
// APIVersionKey is the client's requested API version.
@ -155,7 +154,6 @@ func WriteError(w http.ResponseWriter, err error) {
statusCode = http.StatusInternalServerError
}
logrus.WithFields(logrus.Fields{"statusCode": statusCode, "err": utils.GetErrorMessage(err)}).Error("HTTP Error")
http.Error(w, errMsg, statusCode)
}