fix(dtrack-core): clippy doc_overindented_list_items im from_env-Doc
CI / test (push) Failing after 5m25s
CI / test (push) Failing after 5m25s
This commit is contained in:
@@ -21,10 +21,9 @@ pub fn normalize_base(base: &str) -> String {
|
||||
|
||||
impl DtrackClient {
|
||||
/// Baut den Client aus Umgebungsvariablen:
|
||||
/// - `DTRACK_URL` Basis-URL der DT-Instanz (z.B. https://dtrack.firma.intern)
|
||||
/// - `DTRACK_API_KEY` API-Key eines read-only Teams
|
||||
/// - `DTRACK_INSECURE` optional "1"/"true" -> TLS-Zertpruefung aus
|
||||
/// (nur als Notbehelf bei internem CA-Cert; nicht fuer Prod)
|
||||
/// - `DTRACK_URL`: Basis-URL der DT-Instanz (z.B. https://dtrack.firma.intern)
|
||||
/// - `DTRACK_API_KEY`: API-Key eines read-only Teams
|
||||
/// - `DTRACK_INSECURE`: optional "1"/"true" -> TLS-Pruefung aus (Notbehelf bei internem CA-Cert)
|
||||
pub fn from_env() -> Result<Self> {
|
||||
let base = std::env::var("DTRACK_URL").context("DTRACK_URL nicht gesetzt")?;
|
||||
let api_key = std::env::var("DTRACK_API_KEY").context("DTRACK_API_KEY nicht gesetzt")?;
|
||||
|
||||
Reference in New Issue
Block a user