Valid in status package needs signature change.

Bug #1577589 reported by Horacio Durán
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Low
Unassigned

Bug Description

Types in github.com/juju/juju/status have a Valid method whose signature is func() bool, it should be func() error and the name be changed to Validate to be consistent with other packages and to generate consistent error messages.

Ian Booth (wallyworld)
Changed in juju-core:
milestone: none → 2.0.0
importance: Undecided → Medium
status: New → Triaged
importance: Medium → High
Changed in juju-core:
milestone: 2.0.0 → 2.0-beta16
Ian Booth (wallyworld)
Changed in juju-core:
milestone: 2.0-beta16 → 2.0.0
Changed in juju-core:
assignee: Horacio Durán (hduran-8) → nobody
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Changed in juju:
milestone: 2.0.0 → 2.1.0
Revision history for this message
Anastasia (anastasia-macmood) wrote :

As this is a tech-debt item, I am lowering its priority and removing from the milestone.

Changed in juju:
importance: High → Low
milestone: 2.1.0 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.