paypal / dce-go

Docker Compose Executor to launch pod of docker containers in Apache Mesos.
Apache License 2.0
63 stars 48 forks source link

nil pointer when failed to create mesos executor driver #54

Open pingginp opened 6 years ago

pingginp commented 6 years ago

If you don't give any argument when start executor, log.Errorf does not terminate process

https://github.com/paypal/dce-go/blob/develop/dce/main.go#L374-L383

    driver, err := exec.NewMesosExecutorDriver(dConfig)
    if err != nil {
        log.Errorf("Unable to create a ExecutorDriver : %v\n", err.Error())
    }

    _, err = driver.Start()