base: Fix the encryption settings Into implementation.
parent
ce93869915
commit
9fe23227af
|
@ -165,7 +165,7 @@ impl Into<EncryptionSettings> for EncryptionInfo {
|
||||||
fn into(self) -> EncryptionSettings {
|
fn into(self) -> EncryptionSettings {
|
||||||
EncryptionSettings {
|
EncryptionSettings {
|
||||||
algorithm: self.algorithm,
|
algorithm: self.algorithm,
|
||||||
rotation_period: Duration::from_millis(self.rotation_period_messages),
|
rotation_period: Duration::from_millis(self.rotation_period_ms),
|
||||||
rotation_period_msgs: self.rotation_period_messages,
|
rotation_period_msgs: self.rotation_period_messages,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue