Skip to content

Commit

Permalink
Fix mismerge
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Jul 26, 2024
1 parent 75f006b commit 24d93a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions common/src/api/internal/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,8 @@ pub struct ResolvedVpcRouteSet {
)]
#[serde(tag = "type", rename_all = "snake_case")]
pub enum DatasetKind {
CockroachDb,
#[serde(rename = "cockroach_db")]
Cockroach,
Crucible,
Clickhouse,
ClickhouseKeeper,
Expand All @@ -744,7 +745,7 @@ impl fmt::Display for DatasetKind {
use DatasetKind::*;
let s = match self {
Crucible => "crucible",
CockroachDb => "cockroach_db",
Cockroach => "cockroach_db",
Clickhouse => "clickhouse",
ClickhouseKeeper => "clickhouse_keeper",
ExternalDns => "external_dns",
Expand All @@ -767,7 +768,7 @@ impl FromStr for DatasetKind {
use DatasetKind::*;
let kind = match s {
"crucible" => Crucible,
"cockroach" | "cockroachdb" | "cockroach_db" => CockroachDb,
"cockroach" | "cockroachdb" | "cockroach_db" => Cockroach,
"clickhouse" => Clickhouse,
"clickhouse_keeper" => ClickhouseKeeper,
"external_dns" => ExternalDns,
Expand Down

0 comments on commit 24d93a8

Please sign in to comment.