Skip to content

Commit 4041a02

Browse files
author
Piotr
committed
revert demo update
1 parent 8af2740 commit 4041a02

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

modes/demo.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@ func GenerateRandomData(jsonFormat bool, numPerSec int, ch chan models.Message,
7878
}
7979

8080
func generateTextRandomData() string {
81-
b := gofakeit.Bool()
82-
bs := "false"
83-
if b {
84-
bs = "true"
85-
}
8681
return strings.Join([]string{
8782
time.Now().Format("15:04:05.0000"),
8883
strconv.Itoa(int(time.Now().UnixMilli())),
@@ -95,7 +90,6 @@ func generateTextRandomData() string {
9590
gofakeit.UserAgent(),
9691
gofakeit.HTTPMethod(),
9792
utils.PickRandom[string](correlationIds),
98-
bs,
9993
}, " | ")
10094
}
10195

@@ -112,7 +106,6 @@ func generateJsonRandomData() string {
112106
"ua": gofakeit.UserAgent(),
113107
"method": gofakeit.HTTPMethod(),
114108
"correlation_id": utils.PickRandom[string](correlationIds),
115-
"active": gofakeit.Bool(),
116109
})
117110

118111
return string(val)

0 commit comments

Comments
 (0)