Align lint checks with containerd
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -903,7 +903,7 @@ func TestGenerateApparmorSpecOpts(t *testing.T) {
|
||||
profile: runtimeDefault,
|
||||
privileged: true,
|
||||
},
|
||||
// TODO (mikebrow) add success with exising defined profile tests
|
||||
// TODO (mikebrow) add success with existing defined profile tests
|
||||
"should return error when undefined local profile is specified": {
|
||||
profile: profileNamePrefix + "test-profile",
|
||||
expectErr: true,
|
||||
|
||||
@@ -358,7 +358,7 @@ func TestImageLayersLabel(t *testing.T) {
|
||||
{
|
||||
name: "many layers",
|
||||
layersNum: 5, // hits sampleMaxSize (300 chars).
|
||||
wantNum: 4, // layers should be ommitted for avoiding invalid label.
|
||||
wantNum: 4, // layers should be omitted for avoiding invalid label.
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user