|
|
@ -520,13 +520,8 @@ const lokiFetch = async (url, options = {}, targetNode = null) => {
|
|
|
|
fetchOptions.body
|
|
|
|
fetchOptions.body
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
const getPathString = pathObjArr => {
|
|
|
|
const getPathString = pathObjArr =>
|
|
|
|
const pathArr = [];
|
|
|
|
pathObjArr.map(node => `${node.ip}:${node.port}`).join(', ');
|
|
|
|
pathObjArr.forEach(node => {
|
|
|
|
|
|
|
|
pathArr.push(`${node.ip}:${node.port}`);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return pathArr.join(', ');
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (result === BAD_PATH) {
|
|
|
|
if (result === BAD_PATH) {
|
|
|
|
log.error(
|
|
|
|
log.error(
|
|
|
|