-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Linting go files...
WARN The linter 'tenv' is deprecated (since v1.64.0) due to: Duplicate feature another linter. Replaced by usetesting.
pkg/templates/templating.go:77:7: right hand must be only type assertion (forcetypeassert)
b, err = raw.(*structpb.Value).MarshalJSON()
^
pkg/templates/templating.go:85:7: right hand must be only type assertion (forcetypeassert)
b, err = raw.(*structpb.Value).MarshalJSON()
^
pkg/templates/templating.go:93:7: right hand must be only type assertion (forcetypeassert)
s, err := protojson.Marshal(raw.(proto.Message))
^
pkg/templates/templating.go:101:7: right hand must be only type assertion (forcetypeassert)
s, err := protojson.Marshal(raw.(proto.Message))
^
pkg/templates/templating.go:109:7: right hand must be only type assertion (forcetypeassert)
b, err = json.Marshal(raw.(*structpb.Value).GetBoolValue())
^
make: *** [Makefile:86: lint-go] Error 1
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers