mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
virtcontainers: fix typo in sandbox
There is a typo 'emtpy' instead of 'empty' in a error message Fixes: #2465 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com>
This commit is contained in:
parent
78bb6c0f66
commit
0f720e6f37
@ -1322,7 +1322,7 @@ func (s *Sandbox) StatsContainer(containerID string) (ContainerStats, error) {
|
||||
// Stats returns the stats of a running sandbox
|
||||
func (s *Sandbox) Stats() (SandboxStats, error) {
|
||||
if s.state.CgroupPath == "" {
|
||||
return SandboxStats{}, fmt.Errorf("sandbox cgroup path is emtpy")
|
||||
return SandboxStats{}, fmt.Errorf("sandbox cgroup path is empty")
|
||||
}
|
||||
|
||||
var path string
|
||||
|
Loading…
Reference in New Issue
Block a user