Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Aug 28, 2023
1 parent e005997 commit adc50ec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions internal/pkg/agent/install/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,8 @@ func uninstallServiceComponent(ctx context.Context, log *logp.Logger, comp compo
// Do not use infinite retries when uninstalling from the command line. If the uninstall needs to be
// retried the entire uninstall command can be retried. Retries may complete asynchronously with the
// execution of the uninstall command, leading to bugs like https://github.com/elastic/elastic-agent/issues/3060.
<<<<<<< HEAD
return comprt.UninstallService(ctx, log, comp)
=======
return compruntime.UninstallService(ctx, log, comp, uninstallToken)
>>>>>>> f4d863c989 (add ticker to uninstall RemovePath and error explain what was attempted (#3249))

return compruntime.UninstallService(ctx, log, comp)
}

func serviceComponentsFromConfig(specs component.RuntimeSpecs, cfg *config.Config) ([]component.Component, error) {
Expand Down

0 comments on commit adc50ec

Please sign in to comment.