[release] v0.4.0-unstable11
This commit is contained in:
parent
13639a02e1
commit
6a7cc3795d
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.4.0-unstable10",
|
"version": "0.4.0-unstable11",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -28,7 +28,7 @@ func ManageContainerRoute(w http.ResponseWriter, req *http.Request) {
|
||||||
|
|
||||||
|
|
||||||
vars := mux.Vars(req)
|
vars := mux.Vars(req)
|
||||||
containerName := utils.Sanitize(vars["containerId"])
|
containerName := utils.SanitizeSafe(vars["containerId"])
|
||||||
// stop, start, restart, kill, remove, pause, unpause, recreate
|
// stop, start, restart, kill, remove, pause, unpause, recreate
|
||||||
action := utils.Sanitize(vars["action"])
|
action := utils.Sanitize(vars["action"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue