mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 13:52:17 +00:00
api-types: add a missing serde(default)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ea95d57759
commit
dc53be1b9a
@ -79,7 +79,7 @@ pub struct RemoteConfig {
|
||||
pub struct Remote {
|
||||
pub name: String,
|
||||
// Note: The stored password is base64 encoded
|
||||
#[serde(skip_serializing_if = "String::is_empty")]
|
||||
#[serde(default, skip_serializing_if = "String::is_empty")]
|
||||
#[serde(with = "proxmox_serde::string_as_base64")]
|
||||
pub password: String,
|
||||
#[serde(flatten)]
|
||||
|
Loading…
Reference in New Issue
Block a user