1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

fix(api): prevent the use of bind mounts in stacks if setting enabled (#3232)

This commit is contained in:
Anthony Lapenna 2019-10-07 16:12:21 +13:00 committed by GitHub
parent f7480c4ad4
commit fb6f6738d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 97 additions and 5 deletions

View file

@ -207,6 +207,7 @@ func (server *Server) Start() error {
stackHandler.GitService = server.GitService
stackHandler.RegistryService = server.RegistryService
stackHandler.DockerHubService = server.DockerHubService
stackHandler.SettingsService = server.SettingsService
var tagHandler = tags.NewHandler(requestBouncer)
tagHandler.TagService = server.TagService