You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./ruler.go:397: too many arguments in call to mapi.QueryRows
./ruler.go:410: undefined: utils.Clear in utils.Clear.Printf
./ruler.go:413: undefined: mapi.STAT
./ruler.go:417: too many arguments in call to mapi.QueryRows
./ruler.go:424: undefined: utils.Clear in utils.Clear.Printf
./ruler.go:446: too many arguments in call to mapi.QueryRows
./ruler.go:457: undefined: mapi.STAT
./ruler.go:462: too many arguments in call to mapi.QueryRows
The text was updated successfully, but these errors were encountered:
What's happened here is that you've likely cloned the dev branch into a directory outside of the GOPATH.
For example: ~/ruler
When trying to build, the imports will use GOPATH/src/github.com/sensepost/ruler and thus the mapi.STAT, utils and mapi.QueryRows issues. As these are coming from the imports, that are still on the master branch.
To work with dev, you'll need to clone and overwrite the GOPATH/src/github.com/sensepost/ruler directory.
rm -rf $GOPATH/src/github.com/sensepsot/ruler
git clone -b dev $GOPATH/src/github.com/sensepost/ruler
cd $GOPATH/src/github.com/sensepost/ruler
go build
The text was updated successfully, but these errors were encountered: