Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 7a52175

Browse files
Update datasource.go
Co-authored-by: Julien Duchesne <julienduchesne@live.com>
1 parent eeb9314 commit 7a52175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datasource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
// DataSource represents a Grafana data source.
1010
type DataSource struct {
1111
ID int64 `json:"id,omitempty"`
12-
UID string `json:"uid"`
12+
UID string `json:"uid,omitempty"`
1313
Name string `json:"name"`
1414
Type string `json:"type"`
1515
URL string `json:"url"`

0 commit comments

Comments
 (0)