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:
parent
5125484720
commit
2790ac68b3
21 changed files with 157 additions and 13 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue