Skip to content

Commit

Permalink
chore: Update nix flakes and fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Jun 25, 2024
1 parent 86e6f8c commit f8043c7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 53 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"oneshot",
"refs",
"requestor",
"rustls",
"splitn",
"sqlpad",
"Swatinem",
Expand Down
64 changes: 15 additions & 49 deletions flake.lock

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

4 changes: 0 additions & 4 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,13 @@ pub struct ReleaseConfig {
pub struct Env {
pub name: String,
pub dir: PathBuf,
pub config_file: PathBuf,
pub config: EnvConfig,
}

/// Parsed details concerning a cluster.
pub struct Cluster {
pub name: String,
pub dir: PathBuf,
pub config_file: PathBuf,
pub config: ClusterConfig,
}

Expand All @@ -164,7 +162,6 @@ impl Env {
Ok(Env {
name: name.to_string(),
dir: all_envs_dir,
config_file,
config,
})
}
Expand Down Expand Up @@ -218,7 +215,6 @@ impl Env {
Ok(Cluster {
name: name.to_string(),
dir,
config_file,
config,
})
}
Expand Down

0 comments on commit f8043c7

Please sign in to comment.