Merge lp:~adeuring/juju-core/1251095 into lp:~go-bot/juju-core/trunk
Proposed by
Abel Deuring
Status: | Merged |
---|---|
Approved by: | Abel Deuring |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2078 |
Proposed branch: | lp:~adeuring/juju-core/1251095 |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
14 lines (+2/-2) 1 file modified
cmd/juju/constraints.go (+2/-2) |
To merge this branch: | bzr merge lp:~adeuring/juju-core/1251095 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | Approve | ||
Review via email: mp+195780@code.launchpad.net |
Commit message
fix the example in "juju set-constraints -h"
Description of the change
fix the example in "juju set-constraints -h"
See LP bug 1251095: set-constrains example gives "error: malformed constraint"
The example shown for "juju set-constraints -h" was wrong; the fix is obvious.
To post a comment you must log in.
Reviewers: mp+195780_ code.launchpad. net,
Message:
Please take a look.
Description:
fix the example in "juju set-constraints -h"
See LP bug 1251095: set-constrains example gives "error: malformed
constraint"
The example shown for "juju set-constraints -h" was wrong; the fix is
obvious.
https:/ /code.launchpad .net/~adeuring/ juju-core/ 1251095/ +merge/ 195780
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/29000043/
Affected files (+4, -2 lines): constraints. go
A [revision details]
M cmd/juju/
Index: [revision details] 20131119103655- 3r9zk5y8rhzy33l 3
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: cmd/juju/ constraints. go constraints. go' constraints. go 2013-11-05 00:55:25 +0000 constraints. go 2013-11-19 12:36:03 +0000
=== modified file 'cmd/juju/
--- cmd/juju/
+++ cmd/juju/
@@ -37,8 +37,8 @@
Examples:
- set-constraints mem=8G (all new machines in the
environment must have at least 8GB of RAM)
- set-constraints wordpress mem=4G (all new wordpress machines can
ignore the 8G constraint above, and require only 4G)
+ set-constraints mem=8G (all new machines in the
environment must have at least 8GB of RAM)
+ set-constraints --service wordpress mem=4G (all new wordpress
machines can ignore the 8G constraint above, and require only 4G)
See Also:
juju help constraints