Fix go vet errors
This commit is contained in:
parent
b0129e5239
commit
e84b1d67cb
8 changed files with 16 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue