@@ -127,7 +127,7 @@ mp::Query query_from(const mp::LaunchRequest* request, const std::string& name)
127127 else if (QString::fromStdString (image).startsWith (" http" ))
128128 query_type = mp::Query::Type::HttpDownload;
129129
130- return {name, image, false , request->remote_name (), query_type, true };
130+ return {name, image, false , request->remote_name (), query_type};
131131}
132132
133133auto make_cloud_init_vendor_config (const mp::SSHKeyProvider& key_provider,
@@ -282,7 +282,7 @@ auto fetch_image_for(const std::string& name,
282282 auto stub_prepare = [](const mp::VMImage&) -> mp::VMImage { return {}; };
283283 auto stub_progress = [](int download_type, int progress) { return true ; };
284284
285- mp::Query query{name, " " , false , " " , mp::Query::Type::Alias, false };
285+ mp::Query query{name, " " , false , " " , mp::Query::Type::Alias};
286286
287287 return vault.fetch_image (factory.fetch_type (),
288288 query,
@@ -1621,8 +1621,7 @@ try
16211621 request->search_string (),
16221622 false ,
16231623 request->remote_name (),
1624- Query::Type::Alias,
1625- request->allow_unsupported ()});
1624+ Query::Type::Alias});
16261625 }
16271626 catch (const std::exception& e)
16281627 {
@@ -1658,7 +1657,7 @@ try
16581657 auto action = [&images_found, request, &response](const std::string& remote,
16591658 const mp::VMImageInfo& info) {
16601659 if (remote != mp::snapcraft_remote &&
1661- (info. supported || request-> allow_unsupported ()) && !info.aliases .empty () &&
1660+ !info.aliases .empty () &&
16621661 images_found.find (info.release_title .toStdString ()) == images_found.end ())
16631662 {
16641663 add_aliases (response.mutable_images_info (), remote, info);
@@ -1675,7 +1674,7 @@ try
16751674 request->force_manifest_network_download ());
16761675 const auto & remote = request->remote_name ();
16771676 auto image_host = config->vault ->image_host_for (remote);
1678- auto vm_images_info = image_host->all_images_for (remote, request-> allow_unsupported () );
1677+ auto vm_images_info = image_host->all_images_for (remote);
16791678
16801679 for (const auto & info : vm_images_info)
16811680 add_aliases (response.mutable_images_info (), remote, info);
0 commit comments