!15 bim->image_name is null ,so should use image_name

Merge pull request !15 from dingwei/master
This commit is contained in:
openeuler-ci-bot 2020-01-09 17:46:52 +08:00 committed by Gitee
commit 50fd018347

View File

@ -239,7 +239,7 @@ static struct bim *bim_get(const char *image_type, const char *image_name, const
if (image_name != NULL) {
bim->image_name = bim->ops->resolve_image_name(image_name);
if (bim->image_name == NULL) {
lcrd_append_error_message("Failed to resovle image name%s", bim->image_name);
lcrd_append_error_message("Failed to resovle image name%s", image_name);
bim_put(bim);
return NULL;
}