mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix: Correct getEditSelfLinkFor to produce correct selfLink
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3439472065
commit
456d6ae94f
@ -71,11 +71,9 @@ function getEditSelfLinkFor(object: RawKubeObject): string | undefined {
|
||||
|
||||
const { apiVersionWithGroup, ...parsedApi } = parsedKubeApi;
|
||||
|
||||
parsedApi.apiVersion = lensVersionLabel;
|
||||
|
||||
return createKubeApiURL({
|
||||
...parsedApi,
|
||||
apiVersion: `${parsedApi.apiGroup}/${parsedApi.apiVersion}`,
|
||||
apiVersion: lensVersionLabel,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user