src/config/remote.rs: do not serialize empty option
This commit is contained in:
parent
c43b36bcb6
commit
b8a192e3b0
@ -49,6 +49,7 @@ pub struct Remote {
|
||||
pub host: String,
|
||||
pub userid: String,
|
||||
pub password: String,
|
||||
#[serde(skip_serializing_if="Option::is_none")]
|
||||
pub fingerprint: Option<String>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user