Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

api: add support for deleting apps #327

Merged
merged 5 commits into from
Nov 22, 2016
Merged

api: add support for deleting apps #327

merged 5 commits into from
Nov 22, 2016

Conversation

ucirello
Copy link
Contributor

Fixes #274

@ucirello ucirello changed the title api: add support for deleting apps [DO NOT MERGE] api: add support for deleting apps Nov 21, 2016
@ucirello
Copy link
Contributor Author

Depends on #325

Copy link
Contributor

@treeder treeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pending route thing is confusing. Should say "Cannot remove app with routes" or it should just automatically delete all the routes.

ErrAppsNotFound = errors.New("App not found")
ErrAppsNothingToUpdate = errors.New("Nothing to update")
ErrAppsMissingNew = errors.New("Missing new application")
ErrAppsRemoving = errors.New("Could not remove app from datastore")
ErrAppsPendingRoutes = errors.New("App with pending routes")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by pending routes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this just mean it has routes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this just mean it has routes?

Gonna improve the name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ucirello ucirello changed the title [DO NOT MERGE] api: add support for deleting apps api: add support for deleting apps Nov 21, 2016
@seiflotfy seiflotfy dismissed treeder’s stale review November 21, 2016 23:59

It deletes all routes now :D

@ucirello ucirello merged commit da96ef4 into master Nov 22, 2016
@ucirello ucirello deleted the app-deletion branch November 22, 2016 00:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants