update fetcher to append resource to path instead of replace

Signed-off-by: Lucas De Souza <lucas.desouza@aa.com>
This commit is contained in:
Lucas De Souza
2023-01-12 14:20:46 -06:00
parent 9d456891f9
commit 91e32ae7e1
@@ -203,7 +203,7 @@ export class KubernetesClientBasedFetcher implements KubernetesFetcher {
);
}
url.pathname = resourcePath;
url.pathname += resourcePath;
if (labelSelector) {
url.search = `labelSelector=${labelSelector}`;
}