mirror of
https://github.com/strongdm/comply
synced 2025-12-06 14:24:12 +00:00
Fix error when getting images without tags (#100)
This commit is contained in:
@@ -274,7 +274,7 @@ var pandocImageExists = func(ctx context.Context) bool {
|
||||
return false
|
||||
}
|
||||
for _, image := range imageList {
|
||||
if strings.Contains(image.RepoTags[0], "strongdm/pandoc:edge") {
|
||||
if len(image.RepoTags) > 0 && strings.Contains(image.RepoTags[0], "strongdm/pandoc:edge") {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user