diff options
Diffstat (limited to 'models/repo_permission.go')
-rw-r--r-- | models/repo_permission.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_permission.go b/models/repo_permission.go index 25239f4dd4..916678d168 100644 --- a/models/repo_permission.go +++ b/models/repo_permission.go @@ -113,7 +113,7 @@ func (p *Permission) ColorFormat(s fmt.State) { configBytes, err := unit.Config.ToDB() config = string(configBytes) if err != nil { - config = string(err.Error()) + config = err.Error() } } format += "\nUnits[%d]: ID: %d RepoID: %d Type: %-v Config: %s" |