Skip to content

remove excessive []byte(s) conversion#2959

Merged
estesp merged 1 commit intocontainerd:masterfrom
quasilyte:patch-1
Jan 28, 2019
Merged

remove excessive []byte(s) conversion#2959
estesp merged 1 commit intocontainerd:masterfrom
quasilyte:patch-1

Conversation

@quasilyte
Copy link
Copy Markdown
Contributor

copy permits using to mix []byte and string arguments without
explicit conversion. I removed explicit conversion to make the code simpler.

Signed-off-by: Iskander Sharipov [email protected]

`copy` permits using to mix `[]byte` and `string` arguments without
explicit conversion. I removed explicit conversion to make the code simpler.

Signed-off-by: Iskander Sharipov <[email protected]>
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 28, 2019

Codecov Report

Merging #2959 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2959   +/-   ##
=======================================
  Coverage   44.02%   44.02%           
=======================================
  Files         102      102           
  Lines       10863    10863           
=======================================
  Hits         4782     4782           
  Misses       5348     5348           
  Partials      733      733
Flag Coverage Δ
#linux 47.64% <ø> (ø) ⬆️
#windows 41.23% <ø> (ø) ⬆️

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 9f705f4...dfebb40. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 4259f63 into containerd:master Jan 28, 2019
@quasilyte quasilyte deleted the patch-1 branch January 28, 2019 17: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.

4 participants