1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add expected 3rd party binaries commit ids to info

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-10-24 15:18:58 -07:00
parent 5125484720
commit 2790ac68b3
21 changed files with 157 additions and 13 deletions

View file

@ -78,3 +78,13 @@ func (config *Config) GetAllRuntimes() map[string]types.Runtime {
func (config *Config) GetExecRoot() string {
return config.ExecRoot
}
// GetInitPath returns the configure docker-init path
func (config *Config) GetInitPath() string {
config.reloadLock.Lock()
defer config.reloadLock.Unlock()
if config.InitPath != "" {
return config.InitPath
}
return DefaultInitBinary
}