backend: fix formating issue, thanks to go vet
This commit is contained in:
parent
ef26e46ac9
commit
d6ae1551ba
1 changed files with 2 additions and 2 deletions
|
@ -38,14 +38,14 @@ func treatSubmission(pathname string, team fic.Team, exercice_id string) {
|
||||||
// Find the given exercice
|
// Find the given exercice
|
||||||
exercice, err := fic.GetExercice(int64(eid))
|
exercice, err := fic.GetExercice(int64(eid))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("%s [ERR] Unable to find exercice %d: %s", id, eid, err)
|
log.Printf("%s [ERR] Unable to find exercice %d: %s\n", id, eid, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find the corresponding theme
|
// Find the corresponding theme
|
||||||
theme, err := exercice.GetTheme()
|
theme, err := exercice.GetTheme()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("%s [ERR] Unable to retrieve theme for exercice %d: %s", id, eid, err)
|
log.Printf("%s [ERR] Unable to retrieve theme for exercice %d: %s\n", id, eid, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue