Unify the errors ProcessConfigInvalid and ConfigInvalid to avoid caller confusion.
There is no check that these are being confused since they are both in the same type. Signed-off-by: Steve Powell <spowell@pivotal.io>
This commit is contained in:
parent
582b25986d
commit
8453bee1ca
|
@ -26,7 +26,7 @@ type Container interface {
|
|||
//
|
||||
// Errors:
|
||||
// ContainerDestroyed - Container no longer exists,
|
||||
// ProcessConfigInvalid - config is invalid,
|
||||
// ConfigInvalid - config is invalid,
|
||||
// ContainerPaused - Container is paused,
|
||||
// SystemError - System error.
|
||||
Start(config *ProcessConfig) (pid int, exitChan chan int, err Error)
|
||||
|
|
Loading…
Reference in New Issue