1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 07:44:21 +00:00

Fix validation tests, update deps and use the rancher/docker version that uses logrus for daemon

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-17 22:46:42 +10:00
parent a40ac4ea03
commit 32061238aa
20 changed files with 463 additions and 286 deletions

View File

@@ -10,7 +10,8 @@ import (
)
func testValidate(t *testing.T, cfg []byte, contains string) {
validationErrors, err := Validate(cfg)
fmt.Printf("Testing %s, contains %s", string(cfg), contains)
validationErrors, err := ValidateBytes(cfg)
if err != nil {
t.Fatal(err)
}