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

Issue 43650045: ec2/ec2test: set empty DNSName initially

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by axw
Modified:
10 years, 4 months ago
Reviewers:
mp+199466, rog
Visibility:
Public.

Description

ec2/ec2test: set empty DNSName initially Initially set empty DNSName, causing the client to re-request the DNSName. This exercises the address refreshing logic in juju's ec2 provider. https://code.launchpad.net/~axwalk/goamz/ec2test-empty-dnsname/+merge/199466 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M ec2/ec2test/server.go View 2 chunks +11 lines, -2 lines 1 comment Download

Messages

Total messages: 3
axw
Please take a look.
10 years, 4 months ago (2013-12-18 14:31:08 UTC) #1
rog
LGTM with one thought below. https://codereview.appspot.com/43650045/diff/1/ec2/ec2test/server.go File ec2/ec2test/server.go (right): https://codereview.appspot.com/43650045/diff/1/ec2/ec2test/server.go#newcode567 ec2/ec2test/server.go:567: PrivateDNSName: fmt.Sprintf("%s.internal.invalid", id), I ...
10 years, 4 months ago (2013-12-18 14:39:38 UTC) #2
axw
10 years, 4 months ago (2013-12-18 14:55:30 UTC) #3
On 2013/12/18 14:39:38, rog wrote:
> LGTM with one thought below.
> 
> https://codereview.appspot.com/43650045/diff/1/ec2/ec2test/server.go
> File ec2/ec2test/server.go (right):
> 
>
https://codereview.appspot.com/43650045/diff/1/ec2/ec2test/server.go#newcode567
> ec2/ec2test/server.go:567: PrivateDNSName:  
fmt.Sprintf("%s.internal.invalid",
> id),
> I wonder if we should do it for these addresses too.

I can see it could be useful, but I think only if you could control which ones
are empty, or if they're initially all empty and each one is updated on
successive calls.
That's a much bigger change, though, that I'd like to leave to when we need it.
Sign in to reply to this message.

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