Skip to content

Commit

Permalink
better comment for field.config.DisplayNameFromDS (#678)
Browse files Browse the repository at this point in the history
* better comment for field.config.DisplayNameFromDS

* removed unintended change
  • Loading branch information
gabor authored May 3, 2023
1 parent 8aec1e0 commit 691f934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/field_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type FieldConfig struct {
// DisplayName overrides Grafana default naming, should not be used from a data source
DisplayName string `json:"displayName,omitempty"`

// DisplayNameFromDS overrides Grafana default naming in a better way that allows users to override it easily.
// DisplayNameFromDS overrides Grafana default naming strategy.
DisplayNameFromDS string `json:"displayNameFromDS,omitempty"`

// Path is an explicit path to the field in the datasource. When the frame meta includes a path,
Expand Down

0 comments on commit 691f934

Please sign in to comment.