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

Commit 05e23a1

Browse files
committed
Update UUID field name to Uuid
1 parent 25d2642 commit 05e23a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

slo_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)