Fix go vet errors

This commit is contained in:
nemunaire 2022-07-08 23:11:11 +02:00
parent b0129e5239
commit e84b1d67cb
8 changed files with 16 additions and 12 deletions

View file

@ -390,7 +390,7 @@ func deleteTeam(c *gin.Context) {
assocs, err := pki.GetTeamAssociations(TeamsDir, team.Id)
if err != nil {
log.Printf("Unable to GetTeamAssociations(tid=%s): %s", team.Id, err.Error())
log.Printf("Unable to GetTeamAssociations(tid=%d): %s", team.Id, err.Error())
c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "An error occurs when trying to retrieve team association."})
return
}