Skip to content

Commit

Permalink
labagent/supervisor: remove no longer needed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed May 6, 2020
1 parent 44530a5 commit be65c58
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions labagent/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ func New(root, appRoot, appAddr string, client *httputil.Client, fs *downloaders
}

func (s *supervisor) Supervise(ctx context.Context, id, link string, pdef metadata.PeerDefinition) error {
zerolog.Ctx(ctx).Info().Msg("starting supervise process")
err := s.kill(ctx)
if err != nil {
zerolog.Ctx(ctx).Error().Err(err).Msg("failed to kill processes")
return err
}

Expand Down Expand Up @@ -127,7 +125,6 @@ func (s *supervisor) peerDefinitionToFlags(id string, pdef metadata.PeerDefiniti
}

func (s *supervisor) start(ctx context.Context, flags []string) error {
zerolog.Ctx(ctx).Info().Msg("entered start")
var actx context.Context
actx, s.cancel = context.WithCancel(context.Background())
s.app = s.cmd(actx, flags...)
Expand Down

0 comments on commit be65c58

Please sign in to comment.