Unit not found message is repetitive

Bug #1020322 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Low
Unassigned

Bug Description

c.Assert(err, ErrorMatches, `can't get unit "wordpress/0": can't get service "wordpress": service with name "wordpress" not found`)

This isn't great. Either of those would be better:

`can't get unit ...: can't get service "wordpress": not found`

`can't get unit ...: service "wordpress" not found`

Changed in juju-core:
status: New → Confirmed
importance: Undecided → Low
Changed in juju-core:
status: Confirmed → Triaged
Tim Penhey (thumper)
tags: added: papercut trivial ui
Tim Penhey (thumper)
tags: added: bitesize
removed: trivial
Revision history for this message
Matthew Williams (mattyw) wrote :

It looks like this has been fixed?
./state/service_test.go:866: c.Assert(err, ErrorMatches, `cannot get unit "wordpress/0" from service "mysql": .*`)

Revision history for this message
Dave Cheney (dave-cheney) wrote :

SGTM. We've crawled all over that code a bunch of times in the last year. Marking as resolved.

Changed in juju-core:
status: Triaged → Fix Released
milestone: none → 1.13.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.