mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-21 16:19:37 +00:00
Add linter whitespace (#531)
This commit is contained in:
@@ -132,7 +132,6 @@ func SetPerm() gin.HandlerFunc {
|
||||
if user != nil {
|
||||
log.Debug().Msgf("%s granted %+v permission to %s",
|
||||
user.Login, perm, repo.FullName)
|
||||
|
||||
} else {
|
||||
log.Debug().Msgf("Guest granted %+v to %s", perm, repo.FullName)
|
||||
}
|
||||
@@ -181,7 +180,6 @@ func MustPush(c *gin.Context) {
|
||||
c.AbortWithStatus(http.StatusNotFound)
|
||||
log.Debug().Msgf("User %s denied write access to %s",
|
||||
user.Login, c.Request.URL.Path)
|
||||
|
||||
} else {
|
||||
c.AbortWithStatus(http.StatusUnauthorized)
|
||||
log.Debug().Msgf("Guest denied write access to %s %s",
|
||||
|
Reference in New Issue
Block a user