Updated tests in utils

This commit is contained in:
adragusin
2019-12-04 17:31:30 +02:00
parent b7743036f2
commit bf19cfe7ae
8 changed files with 203 additions and 50 deletions

View File

@@ -119,7 +119,11 @@ func main() {
return
}
if *version {
fmt.Println(utils.GetCGRVersion())
if rcv, err := utils.GetCGRVersion(); err != nil {
fmt.Println(err)
} else {
fmt.Println(rcv)
}
return
}