mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 15:25:26 +00:00
lint: Fix virtcontainers golint
errors
Correct `golint` linter issues. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
3aad4f40c6
commit
bd8b585c79
@ -770,11 +770,7 @@ func (k *kataAgent) stopContainer(pod Pod, c Container) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := bindUnmountContainerRootfs(kataHostSharedDir, pod.id, c.id); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return bindUnmountContainerRootfs(kataHostSharedDir, pod.id, c.id)
|
||||
}
|
||||
|
||||
func (k *kataAgent) killContainer(pod Pod, c Container, signal syscall.Signal, all bool) error {
|
||||
|
Loading…
Reference in New Issue
Block a user