nosec g705

This commit is contained in:
0xmuralik
2023-03-17 11:37:13 +05:30
parent 3ffff8d992
commit fa938e76bb
+2
View File
@@ -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 {