Skip to content

Commit

Permalink
fix(meta): fix incorrect displayed worker type (#20193)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 authored Jan 20, 2025
1 parent d138058 commit 6f53371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/src/controller/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ fn timestamp_now_sec() -> u64 {
fn meta_node_info(host: &str, started_at: Option<u64>) -> PbWorkerNode {
PbWorkerNode {
id: META_NODE_ID,
r#type: WorkerType::Meta as _,
r#type: PbWorkerType::Meta.into(),
host: HostAddr::try_from(host)
.as_ref()
.map(HostAddr::to_protobuf)
Expand Down

0 comments on commit 6f53371

Please sign in to comment.