Addressing review comments

This commit is contained in:
Denis Makogon
2017-09-12 20:07:40 +03:00
parent 33a8b87dc0
commit 4052a7d428
4 changed files with 15 additions and 32 deletions

View File

@@ -21,6 +21,8 @@ func (s *Server) handleAppDelete(c *gin.Context) {
return
}
err = s.FireBeforeAppDelete(ctx, app)
err = s.Datastore.RemoveApp(ctx, app.Name)
if err != nil {
handleErrorResponse(c, err)