Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Conversation

@dlespiau
Copy link
Contributor

In some cases, we don't need to communicate with the process inside the
VM and don't care about its stdout/err for instance.

This is the case for the pause container when creating a pod with
virtcontainers.

Fixes: #32
Signed-off-by: Damien Lespiau damien.lespiau@intel.com

In some cases, we don't need to communicate with the process inside the
VM and don't care about its stdout/err for instance.

This is the case for the pause container when creating a pod with
virtcontainers.

Fixes: clearcontainers#32
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
@coveralls
Copy link

coveralls commented Apr 12, 2017

Coverage Status

Coverage increased (+0.05%) to 70.331% when pulling 316d6e2 on dlespiau:20170412-no-token-newcontainer-execcmd into 57a129c on clearcontainers:master.

@amshinde
Copy link
Contributor

amshinde commented Apr 13, 2017

lgtm

Approved with PullApprove


// We don't need a token to start a process inside the VM, but we
// don't get a session in that case.
if nTokens == 0 {

Choose a reason for hiding this comment

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

Is it worth adding a log message here for this "special case"?

Copy link
Contributor Author

@dlespiau dlespiau Apr 13, 2017

Choose a reason for hiding this comment

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

Not really, it's business as usual.

It may be worth sprinkling more info messages in general, that's something I'll have a look at when improving the logging story in 3.0 (see #35, #36)

Choose a reason for hiding this comment

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

Right. wfm.

@jodh-intel
Copy link

jodh-intel commented Apr 13, 2017

One nit, but otherwise...

lgtm

Approved with PullApprove

@jodh-intel jodh-intel merged commit 2e02d53 into clearcontainers:master Apr 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants