add missing service port for rust webapp
All checks were successful
Run Check Script / check (pull_request) Successful in 1m0s

This commit is contained in:
2025-09-08 10:11:28 -04:00
parent 0148d7890d
commit 0effb3ca2f
2 changed files with 3 additions and 8 deletions

View File

@@ -7,9 +7,7 @@ use harmony::{
ApplicationScore, RustWebFramework, RustWebapp,
features::rhob_monitoring::RHOBMonitoring,
},
monitoring::alert_channel::{
discord_alert_channel::DiscordWebhook, webhook_receiver::WebhookReceiver,
},
monitoring::alert_channel::discord_alert_channel::DiscordWebhook,
},
topology::K8sAnywhereTopology,
};
@@ -19,9 +17,10 @@ use harmony_types::net::Url;
async fn main() {
let application = Arc::new(RustWebapp {
name: "test-rhob-monitoring".to_string(),
domain: Url::Url(url::Url::parse("hhtps://some-fake-url").unwrap()),
domain: Url::Url(url::Url::parse("htps://some-fake-url").unwrap()),
project_root: PathBuf::from("./webapp"), // Relative from 'harmony-path' param
framework: Some(RustWebFramework::Leptos),
service_port: 3000,
});
let discord_receiver = DiscordWebhook {