lint fixes
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
c269bf7b99
commit
03f9350a15
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 {
|
if err := s.Runtime().CreateContainer(container, cgroupParent); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err := s.Runtime().StartContainer(container); err != nil {
|
return s.Runtime().StartContainer(container)
|
||||||
return err
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -204,7 +204,6 @@ func New(config *Config) (*Server, error) {
|
||||||
|
|
||||||
s := &Server{
|
s := &Server{
|
||||||
ContainerServer: containerServer,
|
ContainerServer: containerServer,
|
||||||
|
|
||||||
netPlugin: netPlugin,
|
netPlugin: netPlugin,
|
||||||
hostportManager: hostportManager,
|
hostportManager: hostportManager,
|
||||||
config: *config,
|
config: *config,
|
||||||
|
|
Loading…
Reference in a new issue