mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Shutdown plugins during daemon shutdown.
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
This commit is contained in:
parent
cbc4fd2131
commit
863ab9ab13
7 changed files with 136 additions and 2 deletions
|
|
@ -2,8 +2,15 @@
|
|||
|
||||
package daemon
|
||||
|
||||
import "github.com/docker/engine-api/types/container"
|
||||
import (
|
||||
"github.com/docker/docker/plugin"
|
||||
"github.com/docker/engine-api/types/container"
|
||||
)
|
||||
|
||||
func (daemon *Daemon) verifyExperimentalContainerSettings(hostConfig *container.HostConfig, config *container.Config) ([]string, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func pluginShutdown() {
|
||||
plugin.GetManager().Shutdown()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue