Skip to content

docs: fix usage of cio package in docs#1869

Merged
stevvooe merged 1 commit intocontainerd:masterfrom
Ace-Tang:cio-docs-fix
Dec 4, 2017
Merged

docs: fix usage of cio package in docs#1869
stevvooe merged 1 commit intocontainerd:masterfrom
Ace-Tang:cio-docs-fix

Conversation

@Ace-Tang
Copy link
Copy Markdown
Contributor

@Ace-Tang Ace-Tang commented Dec 4, 2017

update docs

Copy link
Copy Markdown
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

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

Thanks, I must have missed a few of these

Comment thread README.md
```go
// create a new task
task, err := redis.NewTask(context, containerd.Stdio)
task, err := redis.NewTask(context, cio.Stdio)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When containerd.Client is introduced further up this file a import "github.com/containerd/containerd" is included to give the context. Do we want/need a similar import "github.com/containerd/containerd/cio" to give context for the use of cio.Stdio?

@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 4, 2017

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1869   +/-   ##
=======================================
  Coverage   49.18%   49.18%           
=======================================
  Files          86       86           
  Lines        8244     8244           
=======================================
  Hits         4055     4055           
  Misses       3519     3519           
  Partials      670      670
Flag Coverage Δ
#linux 52.6% <ø> (ø) ⬆️
#windows 44.25% <ø> (ø) ⬆️

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 e427fd6...aca8e15. Read the comment docs.

@stevvooe
Copy link
Copy Markdown
Member

stevvooe commented Dec 4, 2017

LGTM

We'll take care of the feedback in a follow up.

@stevvooe stevvooe merged commit a6fad51 into containerd:master Dec 4, 2017
@Ace-Tang Ace-Tang deleted the cio-docs-fix branch December 5, 2017 01:41
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.

5 participants