Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 3e28bd0

Browse files
committed
fix: bad compare of local nsg basic info data source
1 parent c6984cb commit 3e28bd0

File tree

1 file changed

+1
-1
lines changed
  • src/lib/api_app/src/api/routes/testbed/productizers

1 file changed

+1
-1
lines changed

src/lib/api_app/src/api/routes/testbed/productizers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn build_data_product_uri(data_product: &str, data_source: &str) -> String {
8989
.expect("PRH_MOCK_PRODUCTIZER_ENDPOINT must be set");
9090
}
9191
"draft/NSG/Agent/BasicInformation" => {
92-
if data_source == "virtualfinland" {
92+
if data_source.starts_with("virtualfinland") {
9393
testbed_base_url = env::var("PRH_MOCK_PRODUCTIZER_ENDPOINT")
9494
.expect("PRH_MOCK_PRODUCTIZER_ENDPOINT must be set");
9595
}

0 commit comments

Comments
 (0)