mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-05-13 18:13:35 +00:00
Merge pull request #165 from junxu/fix-api
Fix misuse urlNwName and urlNwID in api.
This commit is contained in:
@@ -69,7 +69,7 @@ func (h *httpHandler) initRouter() {
|
||||
"/networks/name/{" + urlNwName + ":.*}/endpoints/": procGetEndpoints,
|
||||
"/networks/id/{" + urlNwID + ":.*}/endpoints/": procGetEndpoints,
|
||||
"/networks/name/{" + urlNwName + ":.*}/endpoints/name/{" + urlEpName + ":.*}": procGetEndpoint,
|
||||
"/networks/id/{" + urlNwName + ":.*}/endpoints/name/{" + urlEpName + ":.*}": procGetEndpoint,
|
||||
"/networks/id/{" + urlNwID + ":.*}/endpoints/name/{" + urlEpName + ":.*}": procGetEndpoint,
|
||||
"/networks/name/{" + urlNwName + ":.*}/endpoints/id/{" + urlEpID + ":.*}": procGetEndpoint,
|
||||
"/networks/id/{" + urlNwID + ":.*}/endpoints/id/{" + urlEpID + ":.*}": procGetEndpoint,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user