Enact golint recommendations per issue 68026.

Remove the 'abac' package from the golint exclusion list.
Add/edit comments per golint feedback.
Set PolicyList to be exported, as not exporting was breaking one of
golint's rules around exported funcs returning an unexported type.
Fix a broken test
This commit is contained in:
James Lucktaylor
2019-03-25 15:43:28 +00:00
parent fee14516fc
commit dbb696508a
3 changed files with 14 additions and 11 deletions

View File

@@ -66,7 +66,6 @@ pkg/apis/storage/v1
pkg/apis/storage/v1/util
pkg/apis/storage/v1beta1
pkg/apis/storage/v1beta1/util
pkg/auth/authorizer/abac
pkg/capabilities
pkg/cloudprovider/providers/fake
pkg/cloudprovider/providers/photon