Skip to content

Commit

Permalink
bring logging in line with others
Browse files Browse the repository at this point in the history
  • Loading branch information
SyniRon committed Jan 19, 2025
1 parent be67eef commit 4df2564
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions datastores/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/7cav/api/xenforo"
"gorm.io/gorm"
"gorm.io/gorm/clause"
"log"
"strconv"
"strings"
"time"
Expand Down Expand Up @@ -478,7 +477,7 @@ func getPositionGroup(profile milpacs.Profile) string {
}

func (ds Mysql) FindAllRanks() ([]*proto.RankExpanded, error) {
log.Println("Searching for all ranks")
Info.Println("Searching for all ranks")
var ranks []milpacs.Rank

result := ds.Db.Order("display_order").Find(&ranks)
Expand All @@ -501,7 +500,7 @@ func (ds Mysql) FindAllRanks() ([]*proto.RankExpanded, error) {
}

func (ds Mysql) FindAllPositionGroups() ([]*proto.PositionGroup, error) {
log.Println("Searching for all position groups")
Info.Println("Searching for all position groups")
var groups []milpacs.PositionGroups

result := ds.Db.Order("display_order").Find(&groups)
Expand Down

0 comments on commit 4df2564

Please sign in to comment.