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

Fix kernel/permission/acl #435

Open
zhugelianglongming opened this issue Feb 21, 2023 · 0 comments · May be fixed by #441
Open

Fix kernel/permission/acl #435

zhugelianglongming opened this issue Feb 21, 2023 · 0 comments · May be fixed by #441

Comments

@zhugelianglongming
Copy link
Collaborator

zhugelianglongming commented Feb 21, 2023

Fix errors reported by golangci-lint
golangci-lint run kernel/permission/acl

kernel/permission/acl/ak_2_account.go:88:16: Error return value of `json.Unmarshal` is not checked (errcheck)
        json.Unmarshal(aclJSON, acl)
                      ^
kernel/permission/acl/ak_2_account.go:101:2: unreachable: unreachable code (govet)
        return nil
        ^
@zhugelianglongming zhugelianglongming linked a pull request Feb 22, 2023 that will close this issue
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 a pull request may close this issue.

1 participant