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

Projects
None yet
3 participants
Owner

wallyworld commented Jul 10, 2017

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

axw approved these changes Jul 10, 2017

cmd/juju/crossmodel/showformatter.go
+ }
+ store := url.Source
+ if store == "" {
+ store = "local"
@axw

axw Jul 10, 2017

Member

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

@wallyworld

wallyworld Jul 10, 2017

Owner

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

Owner

wallyworld commented Jul 10, 2017

$$merge$$

Contributor

jujubot commented Jul 10, 2017

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

Contributor

jujubot commented Jul 10, 2017

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

Owner

wallyworld commented Jul 10, 2017

$$merge$$

Contributor

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

1 check was pending

github-check-merge-juju Jenkins queued the run (Commit changed)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment