YARN-7915. Trusted image log message repeated multiple times. Contributed by Shane Kumpf
This commit is contained in:
parent
8110d6a0d5
commit
628be58a4c
@ -97,7 +97,6 @@ int check_trusted_image(const struct configuration *command_config, const struct
|
|||||||
registry_ptr = strdup(privileged_registry[i]);
|
registry_ptr = strdup(privileged_registry[i]);
|
||||||
}
|
}
|
||||||
if (strncmp(image_name, registry_ptr, strlen(registry_ptr))==0) {
|
if (strncmp(image_name, registry_ptr, strlen(registry_ptr))==0) {
|
||||||
fprintf(ERRORFILE, "image: %s is trusted in %s registry.\n", image_name, privileged_registry[i]);
|
|
||||||
found=1;
|
found=1;
|
||||||
free(registry_ptr);
|
free(registry_ptr);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user