Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Dec 20, 2024
1 parent 522f731 commit cb021ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/meta-srv/src/election/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ impl PgElection {
key: key.clone(),
..Default::default()
};
self.delete_value(&key).await?;
self.put_value_with_lease(
&key,
&ValueWithLease {
Expand Down
2 changes: 0 additions & 2 deletions src/meta-srv/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,6 @@ pub enum Error {
location: Location,
},


#[snafu(display("Failed to send leader change message"))]
SendLeaderChange {
#[snafu(implicit)]
Expand All @@ -734,7 +733,6 @@ pub enum Error {
#[snafu(implicit)]
location: Location,
source: common_meta::error::Error,

},
}

Expand Down

0 comments on commit cb021ef

Please sign in to comment.