Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley committed Jun 13, 2023
1 parent 007abef commit 082bed1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmd/opampsupervisor/supervisor/commander/commander.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@ func (c *Commander) Restart(ctx context.Context) error {
if err := c.Stop(ctx); err != nil {
return err
}
if err := c.Start(ctx); err != nil {
return err
}
return nil

return c.Start(ctx)
}

func (c *Commander) watch() {
Expand Down

0 comments on commit 082bed1

Please sign in to comment.