Skip to content

Commit

Permalink
[docker] update the falcon-plus version to v0.3 (open-falcon#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulh200868 authored and laiwei committed Jul 3, 2019
1 parent 80edf71 commit 2648553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/k8s-example/openfalcon-plus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
spec:
containers:
- name: open-falcon
image: openfalcon/falcon-plus:v0.2.1
image: openfalcon/falcon-plus:v0.3
workingDir: /open-falcon
command:
- /bin/entrypoint.sh
Expand Down
3 changes: 2 additions & 1 deletion modules/transfer/sender/send_tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ func forward2TsdbTask(concurrent int) {
defer sema.Release()

var tsdbBuffer bytes.Buffer
for i := 0; i < len(itemList); i++ {
count := len(itemList)
for i := 0; i < count; i++ {
tsdbItem := itemList[i].(*cmodel.TsdbItem)
tsdbBuffer.WriteString(tsdbItem.TsdbString())
tsdbBuffer.WriteString("\n")
Expand Down

0 comments on commit 2648553

Please sign in to comment.