// deleteRunner deletes the specified runner
deleteRunner deletes the specified runner
// deleteRunner deletes the specified runner
func deleteRunner(ctx context.Context, runner string) error {
	_, err := runnerService.Delete(ctx, avian.RunnerDeleteRequest{Name: runner, Force: forceDelete})
	if err != nil {
		return err
	}
	if forceDelete {
		fmt.Fprintf(os.Stdout, "Runner: %s has been deleted. When force deleting runners that have started, remember to manually kill the Nuix-console process.", runner)
	} else {
		fmt.Fprintf(os.Stdout, "Runner: %s has been deleted", runner)
	}
	return nil
}
func deleteRunner ( ctx context . Context , runner string ) error { _ , err := runnerService . Delete ( ctx , avian . RunnerDeleteRequest { Name : runner , Force : forceDelete } ) if err != nil { return err } if forceDelete { fmt . Fprintf ( os . Stdout , " " , runner ) } else { fmt . Fprintf ( os . Stdout , " " , runner ) } return nil }
deleteRunner deletes the specified runner
deleteRunner deletes the specified runner