Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
gce provider: fix daily image URL #4902
Conversation
|
For some context,
|
jameinel
reviewed
Mar 29, 2016
| @@ -202,7 +202,7 @@ var getDisksTests = []struct { | ||
| func (s *environBrokerSuite) TestGetDisks(c *gc.C) { | ||
| for _, test := range getDisksTests { | ||
| - diskSpecs, err := gce.GetDisks(s.spec, s.StartInstArgs.Constraints, test.Series, "32f7d570-5bac-4b72-b169-250c24a94b2b") | ||
| + diskSpecs, err := gce.GetDisks(s.spec, s.StartInstArgs.Constraints, test.Series, "32f7d570-5bac-4b72-b169-250c24a94b2b", false) |
jameinel
Mar 29, 2016
Owner
This looks pretty clear that we need to add another test, or maybe another scenario permutation about how we handle Daily images.
Possibly another test higher up that we notice that "daily" images actually get them from another source? But definitely one at this level that the URL changes if you ask for dailies.
|
The change looks fine, but we need some tests so that other people coming to this can understand what it should be doing. |
|
Thanks, I added the test. |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
tych0 commentedMar 28, 2016
Signed-off-by: Tycho Andersen tycho.andersen@canonical.com