runtime: pkg: fix govet fieldalignment

Fix structures alignment

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes
2021-07-09 12:53:19 -05:00
parent 2b80091e14
commit 31de8eb75b
8 changed files with 44 additions and 27 deletions

View File

@@ -39,6 +39,7 @@ var (
jaegerPassword = "jaeger_password1"
)
// nolint: govet
type testRuntimeConfig struct {
RuntimeConfig oci.RuntimeConfig
RuntimeConfigFile string
@@ -1574,6 +1575,7 @@ func TestCheckNetNsConfig(t *testing.T) {
func TestCheckFactoryConfig(t *testing.T) {
assert := assert.New(t)
// nolint: govet
type testData struct {
factoryEnabled bool
expectError bool