mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Changed consts in utils and repaired account profiles it testin apier/v1
This commit is contained in:
committed by
Dan Christian Bogos
parent
4883754cf0
commit
570356b459
@@ -687,7 +687,7 @@ func (slc Int64Slice) Less(i, j int) bool {
|
||||
}
|
||||
|
||||
func GetCGRVersion() (vers string, err error) {
|
||||
vers = fmt.Sprintf("%s@%s", CGRateS, VERSION)
|
||||
vers = fmt.Sprintf("%s@%s", CGRateS, Version)
|
||||
if GitLastLog == "" {
|
||||
return vers, nil
|
||||
}
|
||||
@@ -724,7 +724,7 @@ func GetCGRVersion() (vers string, err error) {
|
||||
return vers, fmt.Errorf("Cannot find commitHash or commitDate information")
|
||||
}
|
||||
//CGRateS@v0.11.0~dev-20200110075344-7572e7b11e00
|
||||
return fmt.Sprintf("%s@%s-%s-%s", CGRateS, VERSION, commitDate.UTC().Format("20060102150405"), commitHash[:12]), nil
|
||||
return fmt.Sprintf("%s@%s-%s-%s", CGRateS, Version, commitDate.UTC().Format("20060102150405"), commitHash[:12]), nil
|
||||
}
|
||||
|
||||
func NewTenantID(tntID string) *TenantID {
|
||||
|
||||
Reference in New Issue
Block a user