Commit 70e91a18 authored by Muhammad Bilal's avatar Muhammad Bilal
Browse files

Merge branch 'sz/fixing_plugin_resources' into 'dev'

be less restrictive when comparing plugin names in resource plugin filtering

See merge request memri/pod!355
parents 89fc87f0 a770b953
Showing with 2 additions and 1 deletion
+2 -1
......@@ -181,6 +181,7 @@ static IMPORTERS_PLUGINS: [&str; 2] = [
"gitlab.memri.io:5050/memri/plugins/whatsapp-multi-device",
"gitlab.memri.io:5050/memri/plugins/twitter",
];
const K8S_CONTAINER_PORT: u32 = 8080;
/// Example:
......@@ -202,7 +203,7 @@ fn run_kubernetes_container(
json!({})
} else if IMPORTERS_PLUGINS
.iter()
.any(|importer| &plugin.container_image == importer)
.any(|importer| plugin.container_image.contains(importer))
{
// Importer plugin
json!({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment