Merge pull request #165 from junxu/fix-api
Fix misuse urlNwName and urlNwID in api.
This commit is contained in:
commit
541e96db49
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue