Skip to content

Commit

Permalink
Add block4site API support
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Mar 28, 2021
1 parent bad151d commit b60d765
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/rucio.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ func RucioUnmarshal(dasquery dasql.DASQuery, api string, data []byte) []mongo.DA
arr := strings.Split(blk, "#")
rmap[arr[0]] = 1
}
} else if api == "block4site" {
if rec["name"] != nil {
out = append(out, rec)
}
} else if api == "rules4dataset" || api == "rules4block" || api == "rules4file" {
out = append(out, rec)
} else if api == "block4dataset" {
Expand Down

0 comments on commit b60d765

Please sign in to comment.