1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-09-23 01:37:27 +00:00

Fix staticcheck S1023

By removing a redundant return statement.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
This commit is contained in:
Mark Ryan
2019-01-28 16:19:20 +01:00
parent cb2ce9339c
commit 932fdc7f50

@@ -30,8 +30,6 @@ const volumeUUID = "67d86208-b46c-4465-9018-e14187d4010"
func testAppend(structure interface{}, expected string, t *testing.T) { func testAppend(structure interface{}, expected string, t *testing.T) {
var config Config var config Config
testConfigAppend(&config, structure, expected, t) testConfigAppend(&config, structure, expected, t)
return
} }
func testConfigAppend(config *Config, structure interface{}, expected string, t *testing.T) { func testConfigAppend(config *Config, structure interface{}, expected string, t *testing.T) {