fix incorrect log

This commit is contained in:
linyouchong
2017-10-26 01:30:33 +08:00
parent f4fb38a25d
commit 02e8ffe13c
21 changed files with 22 additions and 22 deletions

View File

@@ -287,7 +287,7 @@ func (test *downwardAPITest) tearDown() {
if _, err := os.Stat(test.volumePath); err == nil {
test.t.Errorf("TearDown() failed, volume path still exists: %s", test.volumePath)
} else if !os.IsNotExist(err) {
test.t.Errorf("SetUp() failed: %v", err)
test.t.Errorf("TearDown() failed: %v", err)
}
os.RemoveAll(test.rootDir)
}