Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Improve error message when trying to stop nested service. #2367

Open
sangee2004 opened this issue Dec 4, 2023 · 1 comment
Open

Improve error message when trying to stop nested service. #2367

sangee2004 opened this issue Dec 4, 2023 · 1 comment
Labels
area/service kind/bug Something isn't working
Milestone

Comments

@sangee2004
Copy link
Contributor

acorn version - v0.9.2-36-g3ff45929+3ff45929

Steps to reproduce the problem:

  1. Deploy the my-todo app from getting started guide - https://docs.acorn.io/getting-started
  2. Once the app is deployed successfully , try to stop the service db app.

User is presented with the following error message:

acorn stop my-todo.db
  ✗  ERROR:  stopping my-todo.db: App.api.acorn.io "my-todo.db" is invalid: metadata.name: Invalid value: "my-todo.db": To update a nested Acorn or a service, update the parent Acorn instead.

Expected Behavior:
This error message can be improved to state that nested Acorn or a service cannot be stopped when parent Acorn is still running.

@sangee2004 sangee2004 added the kind/bug Something isn't working label Dec 4, 2023
@sangee2004 sangee2004 added this to the Backlog milestone Dec 4, 2023
@sangee2004 sangee2004 added area/service help wanted Extra attention is needed labels Dec 4, 2023
@MuhtasimTanmoy
Copy link

Is this issue available or occupied?

@cjellick cjellick removed the help wanted Extra attention is needed label Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/service kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants