Skip to content

Commit

Permalink
Merge pull request #105 from appbaseio/ugo/issue-25/30-08-2018
Browse files Browse the repository at this point in the history
Add tail flag in destConfig
  • Loading branch information
siddharthlatest authored Sep 11, 2018
2 parents f6e3ac7 + 71bb433 commit c19cb06
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions cmd/abc/appbase_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ package main
import (
"encoding/json"
"fmt"
"github.com/appbaseio/abc/appbase/app"
"github.com/appbaseio/abc/appbase/common"
"github.com/appbaseio/abc/imports/adaptor"
"github.com/appbaseio/abc/log"
"github.com/joho/godotenv"
"io/ioutil"
"os"
"strconv"
"strings"
"time"

"github.com/appbaseio/abc/appbase/app"
"github.com/appbaseio/abc/appbase/common"
"github.com/appbaseio/abc/imports/adaptor"
"github.com/appbaseio/abc/log"
"github.com/joho/godotenv"
)

// GLOBALS
Expand Down Expand Up @@ -105,6 +106,7 @@ func runImport(args []string) error {
"_name_": "elasticsearch",
"request_size": *requestSize,
"bulk_requests": *bulkRequests,
"tail": *tail,
}

// write config file
Expand Down

0 comments on commit c19cb06

Please sign in to comment.