X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/86ddb15b162a0c29b6caa4370e5cedf27bbdd69a..dfdb6060ea1a6544fe2497d7c1d18078879fe090:/services/datamanager/summary/pull_list.go diff --git a/services/datamanager/summary/pull_list.go b/services/datamanager/summary/pull_list.go index 34149e8562..aac9aec971 100644 --- a/services/datamanager/summary/pull_list.go +++ b/services/datamanager/summary/pull_list.go @@ -183,9 +183,11 @@ func WritePullLists(arvLogger *logger.Logger, if arvLogger != nil { // We need a local variable because Update doesn't call our mutator func until later, // when our list variable might have been reused by the next loop iteration. + host := host + listLen := len(list) arvLogger.Update(func(p map[string]interface{}, e map[string]interface{}) { pullListInfo := logger.GetOrCreateMap(p, "pull_list_len") - pullListInfo[host] = len(list) + pullListInfo[host] = listLen }) }