Skip to content

Commit

Permalink
fix app delete listener call (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronasser authored and ccirello committed Nov 29, 2016
1 parent 2236f55 commit 89a9ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/apps_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func handleAppDelete(c *gin.Context) {
return
}

err = Api.FireAfterAppDelete(ctx, appName)
err = Api.FireBeforeAppDelete(ctx, appName)
if err != nil {
log.WithError(err).Errorln(models.ErrAppsRemoving)
c.JSON(http.StatusInternalServerError, simpleError(err))
Expand Down

0 comments on commit 89a9ff3

Please sign in to comment.