9d0d13f217050402b0e3de10f6505b6d3927979a
Generally, when using Remote API to push images there needs a http Header X-Registry-Auth. For compatibility if there was no authConfig header, everything will be okay if a proper JSON-http-body was applied. But when both X-Registry-Auth Header and the Body are missing, due to the function of decode JSON, it will return an EOF error which was not very clear to user. So I think we can make the respone error be more nice. Signed-off-by: Hu Keping <hukeping@huawei.com> Upstream-commit: cee62a95a2086dace52f2492de781aa333abca3b Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%