LGTM with test fix
https://codereview.appspot.com/6454113/diff/9001/state/unit_test.go File state/unit_test.go (right):
https://codereview.appspot.com/6454113/diff/9001/state/unit_test.go#newcode52 state/unit_test.go:52: c.Assert(err, IsNil) p, err := s.unit.SetAgentAlive() c.Assert(err, IsNil) defer func(){ c.Assert(p.Kill(), IsNil) }()
https://codereview.appspot.com/6454113/
« Back to merge proposal
LGTM with test fix
https:/ /codereview. appspot. com/6454113/ diff/9001/ state/unit_ test.go
File state/unit_test.go (right):
https:/ /codereview. appspot. com/6454113/ diff/9001/ state/unit_ test.go# newcode52 test.go: 52: c.Assert(err, IsNil) SetAgentAlive( ) Assert( p.Kill( ), IsNil)
state/unit_
p, err := s.unit.
c.Assert(err, IsNil)
defer func(){
c.
}()
https:/ /codereview. appspot. com/6454113/