1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-04 08:55:55 +00:00

cleanup: remove duplicate apiserver import

Remove duplicate import and make aliasing of other apiserver imports
consistent throughout steve.
This commit is contained in:
Colleen Murphy
2022-10-10 11:49:05 -07:00
parent 44e5b8dc3d
commit 95da447d90
3 changed files with 6 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
package accesscontrol
import (
"github.com/rancher/apiserver/pkg/server"
apiserver "github.com/rancher/apiserver/pkg/server"
"github.com/rancher/apiserver/pkg/types"
"github.com/rancher/steve/pkg/attributes"
"github.com/rancher/wrangler/pkg/kv"
@@ -9,7 +9,7 @@ import (
)
type AccessControl struct {
server.SchemaBasedAccess
apiserver.SchemaBasedAccess
}
func NewAccessControl() *AccessControl {