fix: Remove now-unused transition function. Fixes #2762.
parent
f8b5886110
commit
e4e494f1d9
|
@ -129,16 +129,6 @@ pub fn decode_persisted_database_rules(
|
|||
prost::Message::decode(bytes)
|
||||
}
|
||||
|
||||
/// TEMPORARY FOR TRANSITION PURPOSES - if decoding rules file as `PersistedDatabaseRules` (which
|
||||
/// includes the database UUID) fails, use this to try instead to decode as `DatabaseRules`. Then
|
||||
/// next time the database rules are updated, the rules file will be writted as
|
||||
/// `PersistedDatabaseRules`.
|
||||
pub fn decode_database_rules(
|
||||
bytes: prost::bytes::Bytes,
|
||||
) -> Result<management::DatabaseRules, DecodeError> {
|
||||
prost::Message::decode(bytes)
|
||||
}
|
||||
|
||||
/// Encode database rules into a serialized format suitable for storage in object store
|
||||
pub fn encode_persisted_database_rules(
|
||||
rules: &management::PersistedDatabaseRules,
|
||||
|
|
Loading…
Reference in New Issue