projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20978: Return the last capacity error if failing all subnets.
[arvados.git]
/
lib
/
dispatchcloud
/
dispatcher.go
diff --git
a/lib/dispatchcloud/dispatcher.go
b/lib/dispatchcloud/dispatcher.go
index 49be9e68a2358b6fcb40c95e76ed0bbbb2c29471..47e60abdee4744689f18ecd2094fd606188982d3 100644
(file)
--- a/
lib/dispatchcloud/dispatcher.go
+++ b/
lib/dispatchcloud/dispatcher.go
@@
-111,7
+111,7
@@
func (disp *dispatcher) newExecutor(inst cloud.Instance) worker.Executor {
return exr
}
return exr
}
-func (disp *dispatcher) typeChooser(ctr *arvados.Container) (arvados.InstanceType, error) {
+func (disp *dispatcher) typeChooser(ctr *arvados.Container) (
[]
arvados.InstanceType, error) {
return ChooseInstanceType(disp.Cluster, ctr)
}
return ChooseInstanceType(disp.Cluster, ctr)
}