commit
3ae3c41256
2 changed files with 1 additions and 5 deletions
|
@ -83,10 +83,7 @@ func (s *Server) runContainer(container *oci.Container, cgroupParent string) err
|
|||
if err := s.Runtime().CreateContainer(container, cgroupParent); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := s.Runtime().StartContainer(container); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return s.Runtime().StartContainer(container)
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
|
@ -204,7 +204,6 @@ func New(config *Config) (*Server, error) {
|
|||
|
||||
s := &Server{
|
||||
ContainerServer: containerServer,
|
||||
|
||||
netPlugin: netPlugin,
|
||||
hostportManager: hostportManager,
|
||||
config: *config,
|
||||
|
|
Loading…
Reference in a new issue