1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-16 23:39:16 +00:00

Watch counts

This commit is contained in:
Darren Shepherd
2019-08-12 16:47:23 -07:00
parent 73646d17ea
commit 5671b6c3f9
2 changed files with 133 additions and 5 deletions

View File

@@ -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
}