diff options
Diffstat (limited to 'libpod/test_common.go')
-rw-r--r-- | libpod/test_common.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/test_common.go b/libpod/test_common.go index f27c94f1f..29461c12c 100644 --- a/libpod/test_common.go +++ b/libpod/test_common.go @@ -12,6 +12,7 @@ import ( "github.com/opencontainers/runtime-tools/generate" ) +// nolint func getTestContainer(id, name, locksDir string) (*Container, error) { ctr := &Container{ config: &ContainerConfig{ @@ -75,6 +76,7 @@ func getTestContainer(id, name, locksDir string) (*Container, error) { // This horrible hack tests if containers are equal in a way that should handle // empty arrays being dropped to nil pointers in the spec JSON +// nolint func testContainersEqual(a, b *Container) bool { if a == nil && b == nil { return true |