mirror of
https://github.com/moby/moby.git
synced 2025-07-30 18:23:29 +03:00
Use errors.Wrap() in daemon/config
using `errors.Wrap()` preserves the original error Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -2485,7 +2485,7 @@ func (s *DockerDaemonSuite) TestRunWithRuntimeFromConfigFile(c *check.C) {
|
||||
|
||||
content, err := s.d.ReadLogFile()
|
||||
c.Assert(err, checker.IsNil)
|
||||
c.Assert(string(content), checker.Contains, `file configuration validation failed (runtime name 'runc' is reserved)`)
|
||||
c.Assert(string(content), checker.Contains, `file configuration validation failed: runtime name 'runc' is reserved`)
|
||||
|
||||
// Check that we can select a default runtime
|
||||
config = `
|
||||
|
Reference in New Issue
Block a user