Skip to content

Commit

Permalink
Remove broken InfluxDB support
Browse files Browse the repository at this point in the history
  • Loading branch information
oherrala committed Feb 11, 2024
1 parent e9b8386 commit fee8599
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 361 deletions.
227 changes: 0 additions & 227 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ members = [
"energiatili-config",
"energiatili-import",
"energiatili-model",
"influxdb-export",
]

[profile.release]
Expand Down
9 changes: 0 additions & 9 deletions energiatili-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use serde::{Deserialize, Serialize};
#[derive(Default, Serialize, Deserialize)]
pub struct Config {
pub energiatili: Energiatili,
pub influxdb: InfluxDB,
}

#[derive(Default, Serialize, Deserialize)]
Expand All @@ -15,14 +14,6 @@ pub struct Energiatili {
pub password: String,
}

#[derive(Default, Serialize, Deserialize)]
pub struct InfluxDB {
pub url: String,
pub token: String,
pub org: String,
pub bucket: String,
}

impl Config {
pub fn read() -> io::Result<Config> {
let mut config_dir = dirs::config_dir().ok_or_else(|| {
Expand Down
Loading

0 comments on commit fee8599

Please sign in to comment.