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

Issue 86400043: Fix LP 1299958

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by dave
Modified:
10 years ago
Reviewers:
mp+215107, rog
Visibility:
Public.

Description

Fix LP 1299958 Assert that the set of [][]instance.HostPorts contains the currect set by sorting the top level of slices of slices of instance.HostPorts but leaving the order of the seceond level untouched. https://code.launchpad.net/~dave-cheney/juju-core/129-fix-lp-1299958/+merge/215107 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix LP 1299958 #

Patch Set 3 : Fix LP 1299958 #

Patch Set 4 : Fix LP 1299958 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -4 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M worker/peergrouper/desired_test.go View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M worker/peergrouper/worker_test.go View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6
dave_cheney.net
Please take a look.
10 years ago (2014-04-10 08:40:54 UTC) #1
dave_cheney.net
Please take a look.
10 years ago (2014-04-10 08:46:41 UTC) #2
rog
LGTM with the comparison function fixed. https://codereview.appspot.com/86400043/diff/1/worker/peergrouper/desired_test.go File worker/peergrouper/desired_test.go (right): https://codereview.appspot.com/86400043/diff/1/worker/peergrouper/desired_test.go#newcode434 worker/peergrouper/desired_test.go:434: a, b := ...
10 years ago (2014-04-10 08:58:02 UTC) #3
dave_cheney.net
Please take a look.
10 years ago (2014-04-10 09:01:54 UTC) #4
rog
https://codereview.appspot.com/86400043/diff/1/worker/peergrouper/desired_test.go File worker/peergrouper/desired_test.go (right): https://codereview.appspot.com/86400043/diff/1/worker/peergrouper/desired_test.go#newcode428 worker/peergrouper/desired_test.go:428: // hostPortSliceByHostPort sorts a slice of as slice of ...
10 years ago (2014-04-10 09:02:32 UTC) #5
dave_cheney.net
10 years ago (2014-04-10 09:07:02 UTC) #6
Please take a look.
Sign in to reply to this message.

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