generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededissue/willfixThis issue will be worked onThis issue will be worked onkind/choreNecessary taskNecessary tasklanguage/goGolang relatedGolang related
Description
Description
Running make check produces the following warnings and suggestions:
validator/validate.go:17:2: var `schemaPath` is unused (unused)
schemaPath = "components.schemas"
^
config/provider/inmem.go:57:9: SA1019: utils.Unmarshal is deprecated: Use Unmarshal from encoding package. TODO: Replace the usages from all projects. (staticcheck)
return utils.Unmarshal(l.store[key], result)
^
utils/kubernetes/crd.go:38:8: SA1019: utils.Unmarshal is deprecated: Use Unmarshal from encoding package. TODO: Replace the usages from all projects. (staticcheck)
err = utils.Unmarshal(string(crdresult), &xcrd)
Expected Behavior
All lint checks pass.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededissue/willfixThis issue will be worked onThis issue will be worked onkind/choreNecessary taskNecessary tasklanguage/goGolang relatedGolang related