This repository was archived by the owner on Jan 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ type DashboardRef struct {
6262// DestinationDatasource defines model for DestinationDatasource.
6363type DestinationDatasource struct {
6464 Type * string `json:"type,omitempty"`
65- Uid * string `json:"uid,omitempty"`
65+ UID * string `json:"uid,omitempty"`
6666}
6767
6868// FreeformQuery defines model for FreeformQuery.
@@ -132,7 +132,7 @@ type Slo struct {
132132 Objectives []Objective `json:"objectives"`
133133 Query Query `json:"query"`
134134 ReadOnly * ReadOnly `json:"readOnly,omitempty"`
135- Uuid string `json:"uuid"`
135+ UUID string `json:"uuid"`
136136}
137137
138138// Status defines model for Status.
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ func TestSLOs(t *testing.T) {
3535 if err != nil {
3636 t .Error (err )
3737 }
38- if slo .Uuid != "qkkrknp12w6tmsdcrfkdf" {
39- t .Errorf ("incorrect UID - expected qkkrknp12w6tmsdcrfkdf, got %s" , slo .Uuid )
38+ if slo .UUID != "qkkrknp12w6tmsdcrfkdf" {
39+ t .Errorf ("incorrect UID - expected qkkrknp12w6tmsdcrfkdf, got %s" , slo .UUID )
4040 }
4141 })
4242
@@ -70,7 +70,7 @@ func TestSLOs(t *testing.T) {
7070 slo := generateSlo ()
7171 slo .Description = "Updated Description"
7272
73- err := client .UpdateSlo (slo .Uuid , slo )
73+ err := client .UpdateSlo (slo .UUID , slo )
7474
7575 if err != nil {
7676 t .Error (err )
You can’t perform that action at this time.
0 commit comments