Skip to content

Commit

Permalink
gofmt file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
olegpixel committed Oct 10, 2023
1 parent 7797ed3 commit d7fb83b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/sentry/sentry.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/grafana/grafana-plugin-sdk-go/build"
"github.com/peterhellberg/link"
"github.com/peterhellberg/link"
)

type SentryClient struct {
Expand Down Expand Up @@ -39,11 +39,11 @@ func (sc *SentryClient) FetchWithPagination(path string, out interface{}) (strin
fullURL := path
if !strings.HasPrefix(path, sc.BaseURL) {
fullURL = sc.BaseURL + path
}
}
req, err := http.NewRequest(http.MethodGet, fullURL, nil)
if err != nil {
return "", err
}
}
res, err := sc.sentryHttpClient.Do(req)
if err != nil {
return "", err
Expand Down Expand Up @@ -80,7 +80,7 @@ func (sc *SentryClient) Fetch(path string, out interface{}) error {
req, err := http.NewRequest(http.MethodGet, sc.BaseURL+path, nil)
if err != nil {
return err
}
}
res, err := sc.sentryHttpClient.Do(req)
if err != nil {
return err
Expand Down

0 comments on commit d7fb83b

Please sign in to comment.