From b6c01925b7465388b9b17119699c7ee6c571d4be Mon Sep 17 00:00:00 2001 From: Gleb Novikov Date: Tue, 21 Jan 2025 18:33:46 +0000 Subject: [PATCH] fix restore_connstring_ciphertext_base64 is optional in spec json --- compute_tools/src/bin/fast_import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute_tools/src/bin/fast_import.rs b/compute_tools/src/bin/fast_import.rs index de9ef2e1b7..8a6fc3cfae 100644 --- a/compute_tools/src/bin/fast_import.rs +++ b/compute_tools/src/bin/fast_import.rs @@ -70,7 +70,7 @@ struct Spec { encryption_secret: EncryptionSecret, #[serde_as(as = "serde_with::base64::Base64")] source_connstring_ciphertext_base64: Vec, - #[serde_as(as = "serde_with::base64::Base64")] + #[serde_as(as = "Option")] restore_connstring_ciphertext_base64: Option>, }