Skip to content

Commit

Permalink
fix copr-cache.enable config (#3678)
Browse files Browse the repository at this point in the history
  • Loading branch information
handlerww authored Jan 6, 2021
1 parent 38938b4 commit 33e9cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api-references/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3882,7 +3882,7 @@ string
<tbody>
<tr>
<td>
<code>enabled</code></br>
<code>enable</code></br>
<em>
bool
</em>
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/pingcap/v1alpha1/tidb_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ type CoprocessorCache struct {
// Whether to enable the copr cache. The copr cache saves the result from TiKV Coprocessor in the memory and
// reuses the result when corresponding data in TiKV is unchanged, on a region basis.
// +optional
Enabled *bool `toml:"enabled,omitempty" json:"enabled,omitempty"`
Enabled *bool `toml:"enable,omitempty" json:"enable,omitempty"`
// The capacity in MB of the cache.
// +optional
CapacityMB *float64 `toml:"capacity-mb,omitempty" json:"capacity-mb,omitempty"`
Expand Down

0 comments on commit 33e9cc8

Please sign in to comment.