Add a new entrypoint for CI

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: dbf580be57a4bb854d7ce20d313e3a22ea337be5
Component: engine
This commit is contained in:
Daniel Nephin
2017-09-20 17:26:30 -04:00
parent d9942eee10
commit e55d5634bf
11 changed files with 46 additions and 22 deletions
+1 -4
View File
@@ -140,10 +140,7 @@ func (daemon *Daemon) StoreHosts(hosts []string) {
// HasExperimental returns whether the experimental features of the daemon are enabled or not
func (daemon *Daemon) HasExperimental() bool {
if daemon.configStore != nil && daemon.configStore.Experimental {
return true
}
return false
return daemon.configStore != nil && daemon.configStore.Experimental
}
func (daemon *Daemon) restore() error {