Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

When showing or finding offers, ignore those with errors and include store in output #7610

Merged
merged 1 commit into from Jul 10, 2017

Conversation

wallyworld
Copy link
Member

Description of change

Some usability tweak to CMR show/find output based on initial user feedback.

  1. If an offer is bad (eg application deleted, skip it instead of aborting find)
  2. show store in show/find output

QA steps

bootstrap and create offers
find show/find to see new output
delete offered application and find should still work

Bug reference

https://bugs.launchpad.net/juju/+bug/1702901
https://bugs.launchpad.net/juju/+bug/1702899

}
store := url.Source
if store == "" {
store = "local"
Copy link
Contributor

Choose a reason for hiding this comment

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

what does "local" mean in this case? local to the controller that we're querying? what other values might it take on?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just a label which probably could be improved. Store should never be empty (anymore) so I should just remove this bit.

@wallyworld
Copy link
Member Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Jul 10, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented Jul 10, 2017

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/11284

@wallyworld
Copy link
Member Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Jul 10, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit c3d0c37 into juju:develop Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants