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

Commit 9584c49

Browse files
Merge pull request #40 from justinTM/add-message-to-dashboard
add message to dashboard
2 parents be2a1a0 + 076a503 commit 9584c49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dashboard.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ type Dashboard struct {
2828
Model map[string]interface{} `json:"dashboard"`
2929
Folder int64 `json:"folderId"`
3030
Overwrite bool `json:"overwrite"`
31+
32+
// This is only used when creating a new dashboard, it will always be empty when getting a dashboard.
33+
Message string `json:"message"`
3134
}
3235

3336
// SaveDashboard is a deprecated method for saving a Grafana dashboard. Use NewDashboard.

0 commit comments

Comments
 (0)