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

Issue 7307046: trivial: fix FloatingIP field types (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by dimitern
Modified:
11 years, 3 months ago
Reviewers:
mp+146598, jameinel, rog
Visibility:
Public.

Description

trivial: fix FloatingIP field types As discussed before, these two fields of nova.FloatingIP should be *string, rather than interface{}. It's simpler and more closely matches the intent. https://code.launchpad.net/~dimitern/goose/nova-floating-ips-types/+merge/146598 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -11 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M nova/live_test.go View 1 chunk +2 lines, -2 lines 0 comments Download
M nova/nova.go View 1 chunk +10 lines, -5 lines 0 comments Download
M testservices/novaservice/service.go View 1 chunk +2 lines, -2 lines 2 comments Download
M testservices/novaservice/service_test.go View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5
dimitern
Please take a look.
11 years, 3 months ago (2013-02-05 10:11:10 UTC) #1
jameinel
LGTM this will be a bit tricky to land because of the ordering, but you ...
11 years, 3 months ago (2013-02-05 10:33:13 UTC) #2
dimitern
As discussed, I'm landing it in the usual through LP MP and the bot.
11 years, 3 months ago (2013-02-05 10:48:37 UTC) #3
rog
LGTM with one small point. https://codereview.appspot.com/7307046/diff/1/testservices/novaservice/service.go File testservices/novaservice/service.go (right): https://codereview.appspot.com/7307046/diff/1/testservices/novaservice/service.go#newcode596 testservices/novaservice/service.go:596: fip.FixedIP = &fip.IP i'm ...
11 years, 3 months ago (2013-02-05 10:53:23 UTC) #4
dimitern
11 years, 3 months ago (2013-02-05 10:55:45 UTC) #5
Message was sent while issue was closed.
post-submit comment

https://codereview.appspot.com/7307046/diff/1/testservices/novaservice/servic...
File testservices/novaservice/service.go (right):

https://codereview.appspot.com/7307046/diff/1/testservices/novaservice/servic...
testservices/novaservice/service.go:596: fip.FixedIP = &fip.IP
On 2013/02/05 10:53:23, rog wrote:
> i'm not entirely sure if it's alright to have one fip field aliasing another.
> probably best to make it point to another place for safety's sake.

I missed that, sorry. I'll make a follow-up.
Sign in to reply to this message.

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