mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
cli: delete out-of-date comment
Function getContainerInfo dosen't expand container id from prefix now Fixes #139 Signed-off-by: Ruidong Cao <caoruidong@huawei.com>
This commit is contained in:
parent
e75713fffb
commit
7b6d80adf7
@ -50,7 +50,6 @@ var cgroupsDirPath string
|
||||
var procMountInfo = "/proc/self/mountinfo"
|
||||
|
||||
// getContainerInfo returns the container status and its pod ID.
|
||||
// It internally expands the container ID from the prefix provided.
|
||||
func getContainerInfo(containerID string) (vc.ContainerStatus, string, error) {
|
||||
// container ID MUST be provided.
|
||||
if containerID == "" {
|
||||
|
Loading…
Reference in New Issue
Block a user