Fix couple of lint issues

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2016-12-08 15:40:59 -08:00
parent de5cc3ff0b
commit 868e18614a
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ func (s *Server) ExecSync(ctx context.Context, req *pb.ExecSyncRequest) (*pb.Exe
return nil, err
}
if err := s.runtime.UpdateStatus(c); err != nil {
if err = s.runtime.UpdateStatus(c); err != nil {
return nil, err
}

View file

@ -141,7 +141,7 @@ func (s *Server) loadSandbox(id string) error {
sandboxPath := filepath.Join(s.config.SandboxDir, id)
if err := label.ReserveLabel(processLabel); err != nil {
if err = label.ReserveLabel(processLabel); err != nil {
return err
}