Send privileged flag to stack creation and session setup

This commit is contained in:
Marcos Lilljedahl
2021-01-02 10:21:36 -03:00
parent 9b82e0bb7a
commit 7d6e8478eb
2 changed files with 4 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ func SessionSetup(rw http.ResponseWriter, req *http.Request) {
body.DindVolumeSize = playground.DindVolumeSize
}
body.Privileged = playground.Privileged
err = core.SessionSetup(s, body)
if err != nil {
if pwd.SessionNotEmpty(err) {