nosec g705
This commit is contained in:
parent
3ffff8d992
commit
fa938e76bb
@ -170,6 +170,8 @@ func getReferences(ctx context.Context, resolver QueryResolver, r *registrytypes
|
||||
|
||||
func getIds(obj map[string]interface{}) []string {
|
||||
var ids []string
|
||||
|
||||
// #nosec G705
|
||||
for key := range obj {
|
||||
if innerObj, ok := obj[key].(map[string]interface{}); ok {
|
||||
if _, ok := innerObj["/"]; ok && len(innerObj) == 1 {
|
||||
|
Loading…
Reference in New Issue
Block a user