Skip to content

Commit 3ee7311

Browse files
authored
fix bug in image verification with key (#70)
Signed-off-by: Ruriko Kudo <[email protected]>
1 parent c57ccb8 commit 3ee7311

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

shield/pkg/image/image.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ func VerifyImageInManifest(resource unstructured.Unstructured, profile ishieldco
6767

6868
keyPathList := []string{}
6969
if len(profile.KeyConfigs) != 0 {
70-
keyPathList := []string{}
7170
for _, keyconfig := range profile.KeyConfigs {
7271
if keyconfig.Secret.Namespace != "" && keyconfig.Secret.Name != "" {
7372
if keyconfig.Secret.Mount {

0 commit comments

Comments
 (0)