Fix couple of lint issues
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
de5cc3ff0b
commit
868e18614a
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ func (s *Server) ExecSync(ctx context.Context, req *pb.ExecSyncRequest) (*pb.Exe
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := s.runtime.UpdateStatus(c); err != nil {
|
if err = s.runtime.UpdateStatus(c); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ func (s *Server) loadSandbox(id string) error {
|
||||||
|
|
||||||
sandboxPath := filepath.Join(s.config.SandboxDir, id)
|
sandboxPath := filepath.Join(s.config.SandboxDir, id)
|
||||||
|
|
||||||
if err := label.ReserveLabel(processLabel); err != nil {
|
if err = label.ReserveLabel(processLabel); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue