Make docker API more Consistency to exists (#2102)

Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
This commit is contained in:
Pascal Vizeli 2020-10-06 16:02:22 +02:00 committed by GitHub
parent 17559bfc8e
commit 10b6706e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,9 +420,7 @@ class RestAPI(CoreSysAttributes):
web.get("/docker/info", api_docker.info), web.get("/docker/info", api_docker.info),
web.get("/docker/registries", api_docker.registries), web.get("/docker/registries", api_docker.registries),
web.post("/docker/registries", api_docker.create_registry), web.post("/docker/registries", api_docker.create_registry),
web.post( web.delete("/docker/registries/{hostname}", api_docker.remove_registry),
"/docker/registries/{hostname}/remove", api_docker.remove_registry
),
] ]
) )