Skip to content

Commit 0b89d68

Browse files
committed
feat: add BetterStack uptime provider - implement update check (linting)
1 parent a81cf3d commit 0b89d68

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

internal/service/providers/betterstack/betterstack.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ func (b *BetterStack) createCheck(ctx context.Context, check model.UptimeCheck)
250250
return nil
251251
}
252252

253+
//nolint:cyclop,funlen // TODO fix after refactor
253254
func (b *BetterStack) updateCheck(ctx context.Context, existingCheckID int64, check model.UptimeCheck) error {
254255
log.FromContext(ctx).Info("updating check", "check", check, "betterstack ID", existingCheckID)
255256

internal/service/providers/betterstack/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ type MetadataUpdateRequest struct {
101101
OwnerType string `json:"owner_type"`
102102
}
103103

104+
//nolint:tagliatelle
104105
type MonitorRequestHeader struct {
105106
ID string `json:"id,omitempty"`
106107
Name string `json:"name"`

0 commit comments

Comments
 (0)