This commit is contained in:
parent
7169fe2d18
commit
e7de971c46
@ -214,11 +214,11 @@ spec:
|
||||
);
|
||||
yaml_str.push_str(
|
||||
&serde_yaml::to_string(&self.sync_policy)
|
||||
.expect("couldn't serialize source to yaml string"),
|
||||
.expect("couldn't serialize sync policy to yaml string"),
|
||||
);
|
||||
yaml_str.push_str(
|
||||
&serde_yaml::to_string(&self.revision_history_limit)
|
||||
.expect("couldn't serialize source to yaml string"),
|
||||
.expect("couldn't serialize revision history to yaml string"),
|
||||
);
|
||||
|
||||
serde_yaml::from_str(&yaml_str).expect("Couldn't parse YAML")
|
||||
|
Loading…
Reference in New Issue
Block a user