(commandName, operation string, count int, failures []map[string]any)
| 120 | } |
| 121 | |
| 122 | func relocationAggregateError(commandName, operation string, count int, failures []map[string]any) error { |
| 123 | details := operationErrorDetails(operation) |
| 124 | if len(failures) == 1 { |
| 125 | details = mergeJSONErrorDetails(details, failures[0]) |
| 126 | } |
| 127 | return commandFailedErrorfWithDetails("%s: %d error(s)", details, commandName, count) |
| 128 | } |
no test coverage detected