Skip to content

Commit 475ca34

Browse files
committed
comments
1 parent cca284f commit 475ca34

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

bottlecap/src/config/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ impl ConfigBuilder {
220220
if self.config.logs_config_logs_dd_url.is_empty() {
221221
self.config.logs_config_logs_dd_url = build_fqdn_logs(self.config.site.clone());
222222
} else {
223-
// If Logs URL is set, ensure it is prefixed correctly
224223
self.config.logs_config_logs_dd_url =
225224
logs_intake_url(self.config.logs_config_logs_dd_url.as_str());
226225
}
@@ -485,7 +484,6 @@ fn build_fqdn_logs(site: String) -> String {
485484
format!("https://http-intake.logs.{site}")
486485
}
487486

488-
/// Ensures logs intake URL is prefixed with https://
489487
#[inline]
490488
#[must_use]
491489
fn logs_intake_url(url: &str) -> String {

0 commit comments

Comments
 (0)