X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/458436270ce8fb80d421d55e192236c5ac4a225e..37eb070f55b5ae0c622fb4bf0a946c9dd49b2752:/lib/dispatchcloud/worker/worker.go diff --git a/lib/dispatchcloud/worker/worker.go b/lib/dispatchcloud/worker/worker.go index 397a462929..b2ed6c2bff 100644 --- 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 - 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) }