mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: kube-api lint fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
7b8bd1e758
commit
0298b36a9f
23 files changed
+71
-63
No files matched your search
@@ -543,7 +543,7 @@ export class KubeApi<
|
||||
// custom apis might return array for list response, e.g. users, groups, etc.
|
||||
return data
|
||||
.filter(isJsonApiData)
|
||||
.map((data) => (this.ensureMetadataSelfLink(data.metadata), data))
|
||||
.map((data) => (this.ensureMetadataSelfLink(data.metadata), data)) // eslint-disable-line no-sequences
|
||||
.map((data) => new KubeObjectConstructor(data as Data));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user