Skip to content

Fix incorrect ID usage in Windows runtime v2#2584

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
jterry75:windows_r2_exec_fix
Aug 27, 2018
Merged

Fix incorrect ID usage in Windows runtime v2#2584
crosbymichael merged 1 commit intocontainerd:masterfrom
jterry75:windows_r2_exec_fix

Conversation

@jterry75
Copy link
Copy Markdown
Contributor

Sometimes the wrong ID was being used because its not correct to assume
that ExecID is always set. The assumption was that for API's where it is
not an exec ID == ExecID but thats not true. ExecID == "" if it is not
an exec. This uses the correct ID in all cases.

Signed-off-by: Justin Terry (VM) [email protected]

Sometimes the wrong ID was being used because its not correct to assume
that ExecID is always set. The assumption was that for API's where it is
not an exec ID == ExecID but thats not true. ExecID == "" if it is not
an exec. This uses the correct ID in all cases.

Signed-off-by: Justin Terry (VM) <[email protected]>
@jterry75
Copy link
Copy Markdown
Contributor Author

@crosbymichael - This was why we occasionally saw the:

ctr: rpc error: code = NotFound desc = process : not found

@crosbymichael crosbymichael added this to the 1.2 milestone Aug 27, 2018
@codecov-io
Copy link
Copy Markdown

codecov-io commented Aug 27, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2584   +/-   ##
======================================
  Coverage    44.1%   44.1%           
======================================
  Files          96      96           
  Lines       10120   10120           
======================================
  Hits         4463    4463           
  Misses       4935    4935           
  Partials      722     722
Flag Coverage Δ
#linux 47.82% <ø> (ø) ⬆️
#windows 40.98% <ø> (ø) ⬆️

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 6b00aaa...e88ec1f. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

@ehazlett
Copy link
Copy Markdown
Member

LGTM

@crosbymichael crosbymichael merged commit 0a3f87e into containerd:master Aug 27, 2018
@jterry75 jterry75 deleted the windows_r2_exec_fix branch August 27, 2018 19:15
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