zhangmeng
2020-01-19 3e742a6e142d3e63374db3cad7f6dc95b48b13bc
app/master/master.go
@@ -59,15 +59,19 @@
         continue
      }
      envs := strings.Split(cfg.Env, ":")
      normal := true
      for _, v := range envs {
         if !util.IsFileExist(v) {
            normal = false
      if len(cfg.Env) > 0 {
         envs := strings.Split(cfg.Env, ":")
         normal := true
         for _, v := range envs {
            if !util.IsFileExist(v) {
               normal = false
               break
            }
         }
      }
      if !normal {
         logo.Infoln("Can't Find Runtime Path, Skip It: ", file)
         if !normal {
            logo.Infoln("Can't Find Runtime Path, Skip It: ", file)
            continue
         }
      }
      logo.Infoln(file, " CONFIG: ", cfg)