From 8d24bb29caca7cb09a32beef0c150c0b1031f16e Mon Sep 17 00:00:00 2001 From: Valentin Kuznetsov Date: Thu, 14 Jan 2021 10:23:04 -0500 Subject: [PATCH] Add rucio to file query by default as it required --- go.mod | 1 + go.sum | 2 ++ main.go | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 7653cda..23abd83 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.15 require ( github.com/buger/jsonparser v1.0.0 + github.com/deckarep/golang-set v1.7.1 // indirect github.com/dmwm/das2go v0.0.0-20201110181949-489bec8044c6 github.com/pkg/profile v1.5.0 github.com/stretchr/testify v1.6.1 diff --git a/go.sum b/go.sum index 3fb4cb5..fcaddeb 100644 --- a/go.sum +++ b/go.sum @@ -5,6 +5,8 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/deckarep/golang-set v1.7.1 h1:SCQV0S6gTtp6itiFrTqI+pfmJ4LN85S1YzhDf9rTHJQ= +github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= github.com/dmwm/cmsauth v0.0.0-20200227183320-1e78c9119730/go.mod h1:Bi7pLBRdNIRdhUbSFT3jZvEM2zTSTat/IuHiJMctqIQ= github.com/dmwm/das2go v0.0.0-20201110181949-489bec8044c6 h1:+hUPTasjQt+37MYIGHiOYPAlh54Fc7dLhXlvkFeutzQ= github.com/dmwm/das2go v0.0.0-20201110181949-489bec8044c6/go.mod h1:tuJLoiupaeyzy5PiWQRZyDMC5BrZUUxM1BNM8d3aALk= diff --git a/main.go b/main.go index c19979a..6b33ac3 100644 --- a/main.go +++ b/main.go @@ -249,7 +249,7 @@ func DASKeyMap() map[string][]string { "site": []string{"dbs", "combined", "rucio"}, "dataset": []string{"dbs3"}, "block": []string{"dbs3"}, - "file": []string{"dbs3"}, + "file": []string{"dbs3", "rucio"}, "run": []string{"runregistry", "dbs3"}, "config": []string{"reqmgr2"}, }