mirror of
https://github.com/rancher/steve.git
synced 2025-09-16 23:39:16 +00:00
Watch counts
This commit is contained in:
@@ -146,6 +146,9 @@ func (a Access) nameOK(name string) bool {
|
||||
}
|
||||
|
||||
func GetAccessListMap(s *types.Schema) AccessListMap {
|
||||
if s == nil {
|
||||
return nil
|
||||
}
|
||||
v, _ := attributes.Access(s).(AccessListMap)
|
||||
return v
|
||||
}
|
||||
|
Reference in New Issue
Block a user