Skip to content

Commit

Permalink
Fix clickhouseserver datasetkind serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Aug 26, 2024
1 parent 2ba0125 commit 2c5685f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/src/api/internal/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ impl FromStr for DatasetKind {
"crucible" => Crucible,
"clickhouse" => Clickhouse,
"clickhouse_keeper" => ClickhouseKeeper,
"clickhouse_server" => ClickhouseServer,
"external_dns" => ExternalDns,
"internal_dns" => InternalDns,
"zone" => ZoneRoot,
Expand Down Expand Up @@ -1068,10 +1069,11 @@ mod tests {
#[test]
fn test_dataset_kind_serialization() {
let kinds = [
DatasetKind::Crucible,
DatasetKind::Cockroach,
DatasetKind::Crucible,
DatasetKind::Clickhouse,
DatasetKind::ClickhouseKeeper,
DatasetKind::ClickhouseServer,
DatasetKind::ExternalDns,
DatasetKind::InternalDns,
DatasetKind::ZoneRoot,
Expand Down

0 comments on commit 2c5685f

Please sign in to comment.