projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'main' into 19385-cwl-fast-pack
[arvados.git]
/
lib
/
dispatchcloud
/
worker
/
worker.go
diff --git
a/lib/dispatchcloud/worker/worker.go
b/lib/dispatchcloud/worker/worker.go
index 397a46292981170816ed9bf818284d9c3dff2be8..b2ed6c2bff5b039435944b851a9fe3646c922001 100644
(file)
--- a/
lib/dispatchcloud/worker/worker.go
+++ b/
lib/dispatchcloud/worker/worker.go
@@
-384,7
+384,7
@@
func (wkr *worker) probeRunning() (running []string, reportsBroken, ok bool) {
}
before := time.Now()
var stdin io.Reader
}
before := time.Now()
var stdin io.Reader
- if prices := wkr.instance.PriceHistory(); len(prices) > 0 {
+ if prices := wkr.instance.PriceHistory(
wkr.instType
); len(prices) > 0 {
j, _ := json.Marshal(prices)
stdin = bytes.NewReader(j)
}
j, _ := json.Marshal(prices)
stdin = bytes.NewReader(j)
}