Remove unused 'timestamp' field from ComputeSpec struct.

This commit is contained in:
Heikki Linnakangas
2023-04-12 01:57:43 +03:00
committed by Heikki Linnakangas
parent ef68321b31
commit 8ace7a7515

View File

@@ -15,7 +15,10 @@ pub type PgIdent = String;
#[derive(Clone, Debug, Default, Deserialize)]
pub struct ComputeSpec {
pub format_version: f32,
pub timestamp: String,
// The control plane also includes a 'timestamp' field in the JSON document,
// but we don't use it for anything. Serde will ignore missing fields when
// deserializing it.
pub operation_uuid: Option<String>,
/// Expected cluster state at the end of transition process.
pub cluster: Cluster,