mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
17b1288760
- Moved DefaultInitBinary from daemon/daemon.go to daemon/config/config.go since it's a daemon config and is referred in config package files. - Added condition in GetInitPath to check for any explicitly configured DefaultInitBinary. If not, the default value of DefaultInitBinary is returned. - Changed all references of DefaultInitBinary to refer to the variable from new location. - Added TestCommonUnixGetInitPath to test for the various values of GetInitPath. Fixes #32314 Signed-off-by: Sunny Gogoi <indiasuny000@gmail.com> |
||
---|---|---|
.. | ||
config.go | ||
config_common_unix.go | ||
config_common_unix_test.go | ||
config_solaris.go | ||
config_test.go | ||
config_unix.go | ||
config_unix_test.go | ||
config_windows.go | ||
config_windows_test.go |