Small fix in the webhook list error handling (#9567)

Этот коммит содержится в:
Jesús Espino
2018-10-05 16:40:26 +02:00
коммит произвёл GitHub
родитель ee1700d6b2
Коммит 0a68e741d0

Просмотреть файл

@@ -32,7 +32,7 @@ func listWebhookCmdF(command *cobra.Command, args []string) error {
var teams []*model.Team
if len(args) < 1 {
var getErr error
var getErr *model.AppError
// If no team is specified, list all teams
teams, getErr = app.GetAllTeams()
if getErr != nil {