Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-434 linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k committed Sep 20, 2023
1 parent 91e5d69 commit 7e60f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api-tests/tests/monitoring-instances.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ test('patch monitoring instance type fails on missing key', async ({ request })

const getJson = await updated.json()

expect(getJson.message).toMatch('pmm key is required')
expect(getJson.message).toMatch('Pmm key is required')
})

test('create monitoring instance failures', async ({ request }) => {
Expand Down
2 changes: 1 addition & 1 deletion api/marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"unicode"
)

// MarshalJSON capitalizes Error.Message and marshals it to byte array
// MarshalJSON capitalizes Error.Message and marshals it to byte array.
func (e Error) MarshalJSON() ([]byte, error) {
if e.Message != nil && *e.Message != "" {
r := []rune(*e.Message)
Expand Down

0 comments on commit 7e60f21

Please sign in to comment.