fix: missing base64 encoding for env vars

This commit is contained in:
Pierre Mavro
2020-12-02 11:17:20 +01:00
committed by Pierre Mavro
parent ff05e71a61
commit 211e90827f
4 changed files with 10 additions and 4 deletions

8
Cargo.lock generated
View File

@@ -111,6 +111,12 @@ version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
[[package]]
name = "base64"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "bitflags"
version = "1.2.1"
@@ -1706,7 +1712,7 @@ dependencies = [
name = "qovery-engine"
version = "0.1.0"
dependencies = [
"base64 0.12.3",
"base64 0.13.0",
"chrono",
"cmd_lib",
"digitalocean",

View File

@@ -12,7 +12,7 @@ cmd_lib = "0.7.8"
git2 = "0.13.8"
walkdir = "2.3.1"
itertools = "0.9.0"
base64 = "0.12.3"
base64 = "0.13.0"
dirs = "3.0.1"
rust-crypto = "0.2.36"
retry = "1.0.0"

View File

@@ -99,7 +99,7 @@ impl Application {
.iter()
.map(|ev| EnvironmentVariableDataTemplate {
key: ev.key.clone(),
value: ev.value.clone(),
value: base64::encode(ev.value.clone()),
})
.collect::<Vec<_>>();

View File

@@ -111,7 +111,7 @@ impl Application {
.iter()
.map(|ev| EnvironmentVariableDataTemplate {
key: ev.key.clone(),
value: ev.value.clone(),
value: base64::encode(ev.value.clone()),
})
.collect::<Vec<_>>();