Skip to content

Commit c860270

Browse files
author
Daisuke Maki
committed
refuse to remove block, and opt to leave the comment
1 parent 23f03de commit c860270

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jwk/ecdsa.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func ecdsaJWKToRaw(keyif Key, hint interface{}) (interface{}, error) {
151151
default:
152152
rv := reflect.ValueOf(hint)
153153
if rv.Kind() == reflect.Ptr && rv.Elem().Kind() == reflect.Interface {
154+
//nolint:revive
154155
// pointer to an interface value, presumably they want us to dynamically
155156
// create an object of the right type
156157
} else {
@@ -179,6 +180,7 @@ func ecdsaJWKToRaw(keyif Key, hint interface{}) (interface{}, error) {
179180
default:
180181
rv := reflect.ValueOf(hint)
181182
if rv.Kind() == reflect.Ptr && rv.Elem().Kind() == reflect.Interface {
183+
//nolint:revive
182184
// pointer to an interface value, presumably they want us to dynamically
183185
// create an object of the right type
184186
} else {

0 commit comments

Comments
 (0)