juju restore-backup accepts --constraints when has no effect

Bug #1536336 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

When -b is not supplied to "backups restore", --constraints has no effect, but juju does not error.
This can mislead a user into thinking that --constraints has been honoured.

The presence of --contstraints suggests that the user is expecting "-b" to be the default behaviour. This is a reasonable expectation, considering the help text. (See bug #1536333). If juju errored with a message like "--contstraints requires -b", that would provide a helpful hint to the user.

Aaron Bentley (abentley)
tags: added: papercut
affects: juju-core → juju
John A Meinel (jameinel)
summary: - juju backups restore accepts --contraints when has no effect
+ juju restore-backup accepts --contraints when has no effect
summary: - juju restore-backup accepts --contraints when has no effect
+ juju restore-backup accepts --constraints when has no effect
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

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

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.