Skip to content

Fix lint and make vendor#249

Merged
zhouzhuojie merged 1 commit into
masterfrom
zz/fix-lint
Apr 19, 2019
Merged

Fix lint and make vendor#249
zhouzhuojie merged 1 commit into
masterfrom
zz/fix-lint

Conversation

@zhouzhuojie
Copy link
Copy Markdown
Collaborator

No description provided.

// NewKinesisRecorder creates a new Kinesis recorder
var NewKinesisRecorder = func() DataRecorder {
client := kinesis.New(session.New(aws.NewConfig()))
se, err := session.NewSession(aws.NewConfig())
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

static check from golangci-lint caught this, session.New is deprecated. We should use session.NewSession

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #249 into master will decrease coverage by 0.09%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #249     +/-   ##
=========================================
- Coverage   82.27%   82.18%   -0.1%     
=========================================
  Files          26       26             
  Lines        1518     1521      +3     
=========================================
+ Hits         1249     1250      +1     
- Misses        202      203      +1     
- Partials       67       68      +1
Impacted Files Coverage Δ
pkg/entity/segment.go 100% <100%> (ø) ⬆️
pkg/handler/data_recorder_kinesis.go 78.04% <50%> (-3.54%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3defdf8...740e94d. Read the comment docs.

@zhouzhuojie zhouzhuojie merged commit 56ff7f1 into master Apr 19, 2019
@zhouzhuojie zhouzhuojie deleted the zz/fix-lint branch April 19, 2019 21:38
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