Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fkarakas committed Nov 12, 2021
1 parent 84e828a commit c4cc17d
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions server/runner/mini/mini.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,81 +145,6 @@ func (r *Runner) Start() error {
logErr(historyStore.Add(sch2.Name(), genRandVersions(schs[100:150])...))
logErr(historyStore.Add(sch3.Name(), genRandVersions(schs[200:250])...))

jsonStr :=
`[
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
},
{
"firstName": "Joe",
"lastName": "Lafrite",
"status": "fried",
"creationDate": "2018-05-06T08:00:00Z"
}]`
jsonMsg := schs[0]
jsonMsg.Key = []byte("target-id-json")
jsonMsg.Value = []byte(jsonStr)
logErr(liveStore.Add(sch1.Name(), jsonMsg))
logErr(coldStore.Add(sch1.Name(), jsonMsg))
logErr(historyStore.Add(sch1.Name(), jsonMsg))

srv := runner.NewServer(coldDB, liveDB, historyDB, resolver)

helper.StartupHTTPServer(srv)
Expand Down

0 comments on commit c4cc17d

Please sign in to comment.