Add authorized actions output on resources (#870)
This commit is contained in:
1 parent
ec6151d174
commit
dcb15cffbd
93 files changed
+2475
-1038
No files matched your search
@@ -445,3 +445,11 @@ func Difference(a, b []string, lowercase bool) []string {
|
||||
sort.Strings(items)
|
||||
return items
|
||||
}
|
||||
|
||||
func StringListToInterfaceList(in []string) []interface{} {
|
||||
ret := make([]interface{}, len(in))
|
||||
for i, v := range in {
|
||||
ret[i] = v
|
||||
}
|
||||
return ret
|
||||
}
|
||||
Reference in new issue
Block a user