fix(critical): Use helmfile `repos` instead of `sync`

This commit is contained in:
Nikolai Rodionov 2023-04-04 11:56:51 +02:00
parent cff0139c09
commit c2f2a3b8e6
Signed by: allanger
GPG Key ID: 19DB54039EBF8F10
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -46,7 +46,7 @@ checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4"
[[package]]
name = "cdh"
version = "0.1.3"
version = "0.1.5"
dependencies = [
"clap",
"clap_complete",

View File

@ -37,7 +37,7 @@ impl Connector for Helmfile {
}
}
fn sync_repos(&self) -> Result<()> {
let cmd: String = format!("helmfile -f {} -e {} sync", self.path, self.env);
let cmd: String = format!("helmfile -f {} -e {} repos", self.path, self.env);
Command::new("bash")
.arg("-c")
.arg(cmd)