Merge branch 'main' into 19385-cwl-fast-pack
[arvados.git] / lib / dispatchcloud / worker / worker.go
index 397a46292981170816ed9bf818284d9c3dff2be8..b2ed6c2bff5b039435944b851a9fe3646c922001 100644 (file)
@@ -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)
        }