mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-07 15:44:20 +01: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user