Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Issue 6715048: environs: added error in case of illegal mode (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by TheMue
Modified:
11 years, 6 months ago
Reviewers:
mp+130061
Visibility:
Public.

Description

environs: added error in case of illegal mode Changed OpenPorts/ClosePorts/Ports in dummy and ec2 to check if the correct firewall mode is set. That is "global" for operations on the environ and "instance" for operations on instances. https://code.launchpad.net/~themue/juju-core/go-environs-mode-errors/+merge/130061 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : environs: added error in case of illegal mode #

Total comments: 1

Patch Set 3 : environs: added error in case of illegal mode #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -10 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M environs/dummy/environs.go View 1 2 10 chunks +37 lines, -10 lines 0 comments Download
M environs/ec2/ec2.go View 6 chunks +24 lines, -0 lines 0 comments Download
M environs/jujutest/livetests.go View 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 5
TheMue
Please take a look.
11 years, 6 months ago (2012-10-17 09:51:41 UTC) #1
niemeyer
https://codereview.appspot.com/6715048/diff/1/environs/dummy/environs.go File environs/dummy/environs.go (right): https://codereview.appspot.com/6715048/diff/1/environs/dummy/environs.go#newcode494 environs/dummy/environs.go:494: env: e, Doesn't look right. One environment state may ...
11 years, 6 months ago (2012-10-17 21:27:27 UTC) #2
TheMue
Please take a look. https://codereview.appspot.com/6715048/diff/1/environs/dummy/environs.go File environs/dummy/environs.go (right): https://codereview.appspot.com/6715048/diff/1/environs/dummy/environs.go#newcode494 environs/dummy/environs.go:494: env: e, On 2012/10/17 21:27:28, ...
11 years, 6 months ago (2012-10-18 11:20:19 UTC) #3
niemeyer
LGTM either way. It's not worth spending more time on this. https://codereview.appspot.com/6715048/diff/5001/environs/dummy/environs.go File environs/dummy/environs.go (right): ...
11 years, 6 months ago (2012-10-19 00:50:04 UTC) #4
TheMue
11 years, 6 months ago (2012-10-19 09:18:44 UTC) #5
*** Submitted:

environs: added error in case of illegal mode

Changed OpenPorts/ClosePorts/Ports in dummy and ec2 to
check if the correct firewall mode is set. That is "global"
for operations on the environ and "instance" for operations
on instances.

R=
CC=
https://codereview.appspot.com/6715048
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b