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

config: fix panic in type assertion#1441

Merged
lifupan merged 1 commit intokata-containers:masterfrom
Ace-Tang:fix-panic
Apr 8, 2019
Merged

config: fix panic in type assertion#1441
lifupan merged 1 commit intokata-containers:masterfrom
Ace-Tang:fix-panic

Conversation

@Ace-Tang
Copy link
Copy Markdown
Contributor

when use shim v2 interface to run container, no need to use kata-proxy
and kata-shim, remove kata-proxy and kata-shim in config file will cause
panic since type assertion. add check to avoid panic

Fixes: #1440

Signed-off-by: Ace-Tang aceapril@126.com

@Ace-Tang Ace-Tang changed the title config: fix panic if type assertion config: fix panic in type assertion Mar 28, 2019
when use shim v2 interface to run container, no need to use kata-proxy
and kata-shim, remove kata-proxy and kata-shim in config file will cause
panic since type assertion. add check to avoid panic

Fixes: #1440

Signed-off-by: Ace-Tang <aceapril@126.com>
Copy link
Copy Markdown

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Ouch! Good catch!

@lifupan
Copy link
Copy Markdown
Member

lifupan commented Mar 28, 2019

/test

@bergwolf
Copy link
Copy Markdown
Member

bergwolf commented Apr 1, 2019

/retest

@egernst
Copy link
Copy Markdown
Member

egernst commented Apr 3, 2019

/test

@lifupan lifupan merged commit 303f126 into kata-containers:master Apr 8, 2019
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this pull request Apr 16, 2019
config: fix panic in type assertion
(cherry picked from commit 303f126)
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this pull request Apr 16, 2019
config: fix panic in type assertion
(cherry picked from commit 303f126)
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this pull request Apr 16, 2019
config: fix panic in type assertion
(cherry picked from commit 303f126)

Fixes: kata-containers#1440

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
ganeshmaharaj pushed a commit to ganeshmaharaj/kata-runtime that referenced this pull request Apr 16, 2019
config: fix panic in type assertion
(cherry picked from commit 303f126)

Fixes: kata-containers#1440

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
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.

8 participants