Skip to content

Commit 76e195a

Browse files
authored
Reorder fields in Shard to avoid ValueAfterTable errors (#349)
1 parent aa89e35 commit 76e195a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ pub struct MirrorServerConfig {
486486
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Hash, Eq)]
487487
pub struct Shard {
488488
pub database: String,
489-
pub servers: Vec<ServerConfig>,
490489
pub mirrors: Option<Vec<MirrorServerConfig>>,
490+
pub servers: Vec<ServerConfig>,
491491
}
492492

493493
impl Shard {

0 commit comments

Comments
 (0)