Skip to content

修复 datasource 在数据有空行时会加不上的问题 - #474

Merged
wonderflow merged 1 commit into
qiniu:masterfrom
wonderflow:datasource1
May 14, 2018
Merged

wonderflow merged 1 commit into
qiniu:masterfrom
wonderflow:datasource1

Conversation

@wonderflow

Copy link
Copy Markdown
Contributor

Fixes [issue number]

Changes

  • feature1
  • feature2
  • fixbug1
  • fixbug2

Reviewers

  • @[someone] please review
  • @[someotherone] please review

Wiki Changes

  • options1...
  • options2...

Checklist

  • Rebased/mergable
  • Tests pass
  • Wiki updated

@wonderflow wonderflow changed the title fix datasource 修复 datasource 在数据有空行时会加不上的问题 May 14, 2018
Comment thread parser/nginx_parser.go
se.DatasourceSkipIndex = append(se.DatasourceSkipIndex, idx)
continue
}
data, err := p.parseline(line)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

err != nil是不用append ?

@wonderflow
wonderflow merged commit 36ef946 into qiniu:master May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants