mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 09:49:13 +00:00
Rename variable, constants and struct fields following stylecheck linter recommendation
This commit is contained in:
@@ -86,7 +86,7 @@ elems:
|
||||
`, r.FunctionConfig.MustString())
|
||||
|
||||
assert.Equal(t, ResourceListKind, r.WrappingKind)
|
||||
assert.Equal(t, ResourceListApiVersion, r.WrappingApiVersion)
|
||||
assert.Equal(t, ResourceListAPIVersion, r.WrappingAPIVersion)
|
||||
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ spec:
|
||||
// verify the function config
|
||||
assert.Nil(t, r.FunctionConfig)
|
||||
assert.Equal(t, "List", r.WrappingKind)
|
||||
assert.Equal(t, "v1", r.WrappingApiVersion)
|
||||
assert.Equal(t, "v1", r.WrappingAPIVersion)
|
||||
}
|
||||
|
||||
// TestByteReader_Read tests the default Read behavior
|
||||
|
||||
Reference in New Issue
Block a user