Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

fix(notifier): use IsStatusFailure for resty v3 rc.1#7

Merged
1995parham merged 1 commit into
mainfrom
fix/resty-v3-iserror
Jun 12, 2026
Merged

fix(notifier): use IsStatusFailure for resty v3 rc.1#7
1995parham merged 1 commit into
mainfrom
fix/resty-v3-iserror

Conversation

@1995parham

Copy link
Copy Markdown
Contributor

Problem

CI was red on both lint and test jobs after #5 bumped resty.dev/v3 to v3.0.0-rc.1. The rc.1 release renamed Response.IsError() to IsStatusFailure(), breaking the build at pkg/notifier/notifier.go:136.

Fix

One-line API rename: resp.IsError()resp.IsStatusFailure().

Verification (local)

  • go build ./...
  • go vet ./...
  • go test ./...
  • golangci-lint run ./... → 0 issues ✅

🤖 Generated with Claude Code

resty.dev/v3 v3.0.0-rc.1 (bumped in #5) renamed Response.IsError to
IsStatusFailure, which broke the build and turned both the lint and
test CI jobs red.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@1995parham
1995parham merged commit 02ed995 into main Jun 12, 2026
2 checks passed
@1995parham
1995parham deleted the fix/resty-v3-iserror branch June 12, 2026 08:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant