Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): upgrade types to v0.24.0-rc1 #1136

Closed
wants to merge 2 commits into from

Conversation

wsan3
Copy link
Contributor

@wsan3 wsan3 commented Jun 5, 2024

No description provided.

@wsan3 wsan3 self-assigned this Jun 5, 2024
@wsan3 wsan3 requested a review from a team as a code owner June 5, 2024 18:25
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.01%. Comparing base (b35f351) to head (1a26047).
Report is 1 commits behind head on main.

Current head 1a26047 differs from pull request most recent head 1425bef

Please upload reports for the commit 1425bef to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1136   +/-   ##
=======================================
  Coverage   52.01%   52.01%           
=======================================
  Files         548      548           
  Lines       18779    18779           
=======================================
  Hits         9767     9767           
  Misses       8457     8457           
  Partials      555      555           

return nil
}

jk.Set(jwk.KeyIDKey, kid.String())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of jk.Set is not checked (errcheck)

@@ -33,7 +33,7 @@ func (e *engine) ListJWKs(_ context.Context) (jwk.Set, error) {
tmp := key

// convert query result to API type
keySet.Add(tmp.ToAPI())
keySet.AddKey(tmp.ToAPI())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of keySet.AddKey is not checked (errcheck)

@@ -54,8 +54,8 @@ func TestJWK_Engine_ListJWKs(t *testing.T) {
}

wantSet := jwk.NewSet()
wantSet.Add(_jwkOne)
wantSet.Add(_jwkTwo)
wantSet.AddKey(_jwkOne)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of wantSet.AddKey is not checked (errcheck)

wantSet.Add(_jwkOne)
wantSet.Add(_jwkTwo)
wantSet.AddKey(_jwkOne)
wantSet.AddKey(_jwkTwo)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of wantSet.AddKey is not checked (errcheck)

}

jk.Set(jwk.KeyIDKey, kid.String())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of jk.Set is not checked (errcheck)

@@ -2576,8 +2576,8 @@ func newResources() *Resources {
jwkTwo := testutils.JWK()

jwkSet := jwk.NewSet()
jwkSet.Add(jwkOne)
jwkSet.Add(jwkTwo)
jwkSet.AddKey(jwkOne)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of jwkSet.AddKey is not checked (errcheck)

jwkSet.Add(jwkOne)
jwkSet.Add(jwkTwo)
jwkSet.AddKey(jwkOne)
jwkSet.AddKey(jwkTwo)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
Error return value of jwkSet.AddKey is not checked (errcheck)

if err != nil {
return err
return nil
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
error is not nil (line 30) but it returns nil (nilerr)

@ecrupper ecrupper closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants