config: disable_trusted_users is optional

This commit is contained in:
Cole Helbling 2021-05-18 14:06:37 -07:00
parent 517a32a84d
commit 11d08c75e3

View file

@ -67,6 +67,7 @@ pub struct LogStorage {
pub struct RunnerConfig { pub struct RunnerConfig {
pub identity: String, pub identity: String,
pub repos: Option<Vec<String>>, pub repos: Option<Vec<String>>,
#[serde(default = "Default::default")]
pub disable_trusted_users: bool, pub disable_trusted_users: bool,
pub trusted_users: Option<Vec<String>>, pub trusted_users: Option<Vec<String>>,