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

Unified Diff: worker/provisioner/provisioner_task.go

Issue 93990043: lxc and kvm broker fake tools for other series
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« container/lxc/initialisation.go ('K') | « worker/provisioner/lxc-broker_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: worker/provisioner/provisioner_task.go
=== modified file 'worker/provisioner/provisioner_task.go'
--- worker/provisioner/provisioner_task.go 2014-04-24 09:10:44 +0000
+++ worker/provisioner/provisioner_task.go 2014-04-30 19:14:13 +0000
@@ -478,7 +478,7 @@
return tools.FindInstanceTools(env, agentVersion, series, cons.Arch)
}
if hasTools, ok := task.broker.(coretools.HasTools); ok {
- return hasTools.Tools(), nil
+ return hasTools.Tools(series), nil
}
panic(fmt.Errorf("broker of type %T does not provide any tools", task.broker))
}
« container/lxc/initialisation.go ('K') | « worker/provisioner/lxc-broker_test.go ('k') | no next file » | no next file with comments »

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