-
Notifications
You must be signed in to change notification settings - Fork 227
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
Conversation
Depends on #325 |
There was a problem hiding this 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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Fixes #274