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:
@@ -203,7 +203,7 @@ export class KubernetesClientBasedFetcher implements KubernetesFetcher {
|
||||
);
|
||||
}
|
||||
|
||||
url.pathname = resourcePath;
|
||||
url.pathname += resourcePath;
|
||||
if (labelSelector) {
|
||||
url.search = `labelSelector=${labelSelector}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user