node_e2e: do not return error if Docker's check-config.sh fails

pull/6/head
Yang Guo 2017-12-19 20:50:09 -08:00
parent f302487942
commit 7e1d74ead2
1 changed files with 4 additions and 4 deletions

View File

@ -139,10 +139,10 @@ func checkDockerConfig() error {
if _, err := os.Stat(bin); os.IsNotExist(err) {
continue
}
output, err := runCommand(bin)
if err != nil {
return err
}
// We don't check the return code because it's OK if the script returns
// a non-zero exit code just because the configs in the whitelist are
// missing.
output, _ := runCommand(bin)
for _, line := range strings.Split(output, "\n") {
if !strings.Contains(line, "missing") {
continue