Skip to content

Commit

Permalink
cluster: make pd mode editable (#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
rleungx committed Jun 26, 2024
1 parent 8f7230f commit 2ff05f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ type (
Arch string `yaml:"arch,omitempty"`
Custom any `yaml:"custom,omitempty" validate:"custom:ignore"`
SystemdMode SystemdMode `yaml:"systemd_mode,omitempty" default:"system"`
PDMode string `yaml:"pd_mode,omitempty"`
PDMode string `yaml:"pd_mode,omitempty" validate:"pd_mode:editable"`
}

// MonitoredOptions represents the monitored node configuration
Expand Down

0 comments on commit 2ff05f9

Please sign in to comment.