mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-25 10:10:32 -06:00
Handle listing docker images without repo tags
This commit is contained in:
parent
71939a17f1
commit
a5d90b7868
@ -228,6 +228,10 @@ public class DockerHelper {
|
||||
List<String> validRepoTags = tags.stream().map(s -> label + ":" + s).collect(Collectors.toList());
|
||||
for (Image image : images) {
|
||||
String[] foundRepoTags = image.getRepoTags();
|
||||
if (foundRepoTags == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (String foundRepoTag : foundRepoTags) {
|
||||
for (String validRepoTag : validRepoTags) {
|
||||
if (foundRepoTag.equals(validRepoTag)) {
|
||||
|
Loading…
Reference in New Issue
Block a user