From c2f2a3b8e6c8063014da3287d237f1feda022bd1 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 4 Apr 2023 11:56:51 +0200 Subject: [PATCH] fix(critical): Use helmfile `repos` instead of `sync` --- Cargo.lock | 2 +- src/connectors/helmfile.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 760318a..54430cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -46,7 +46,7 @@ checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4" [[package]] name = "cdh" -version = "0.1.3" +version = "0.1.5" dependencies = [ "clap", "clap_complete", diff --git a/src/connectors/helmfile.rs b/src/connectors/helmfile.rs index 524c2ed..4166e68 100644 --- a/src/connectors/helmfile.rs +++ b/src/connectors/helmfile.rs @@ -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)