[ARVADOS] updated: 1.1.2-143-g20c51bf
Git user
git at public.curoverse.com
Thu Feb 8 14:11:48 EST 2018
Summary of changes:
services/dispatchcloud/node_size.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 20c51bfacc584f54083da0b3317116089e3af6b4 (commit)
from 3c5378e79de03e312268e31a10fc93650cafbb10 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 20c51bfacc584f54083da0b3317116089e3af6b4
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Mon Feb 5 09:52:18 2018 -0500
12199: Make operator precedence more obvious.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/services/dispatchcloud/node_size.go b/services/dispatchcloud/node_size.go
index eeb3b81..3b72c4a 100644
--- a/services/dispatchcloud/node_size.go
+++ b/services/dispatchcloud/node_size.go
@@ -27,7 +27,7 @@ func ChooseInstanceType(cc *arvados.Cluster, ctr *arvados.Container) (best arvad
needVCPUs := ctr.RuntimeConstraints.VCPUs
needRAM := ctr.RuntimeConstraints.RAM + ctr.RuntimeConstraints.KeepCacheRAM
- needRAM = needRAM * 100 / int64(100-discountConfiguredRAMPercent)
+ needRAM = (needRAM * 100) / int64(100-discountConfiguredRAMPercent)
if len(cc.InstanceTypes) == 0 {
err = ErrInstanceTypesNotConfigured
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list