Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
refactor: make Config fields env, sensitive_env private
Lars Wirzenius committed 1 year ago
commit 88e7d75a5943e00e8a09edc23c416ce99c76ee17
parent f65a5b83b310009c49a07e136c83a196cab08391
1 file changed +2 -2
modified src/config.rs
@@ -99,9 +99,9 @@ impl Config {
#[derive(Debug, Serialize, Deserialize)]
pub struct AdapterConfig {
    pub command: PathBuf,
-
    pub env: HashMap<String, String>,
+
    env: HashMap<String, String>,
    #[serde(default)]
-
    pub sensitive_env: HashMap<String, Sensitive>,
+
    sensitive_env: HashMap<String, Sensitive>,
}

impl AdapterConfig {