mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Fixed lint issues.
This commit is contained in:
@@ -36,7 +36,11 @@ export const getKubeConfig = () => {
|
||||
export async function checkCRD(name, kc, logger) {
|
||||
const apiExtensions = kc.makeApiClient(ApiextensionsV1Api);
|
||||
const exist = await apiExtensions
|
||||
.readCustomResourceDefinitionStatus({name:name})
|
||||
.readCustomResourceDefinitionStatus(
|
||||
{
|
||||
name
|
||||
}
|
||||
)
|
||||
.then(() => true)
|
||||
.catch(async (error) => {
|
||||
if (error.statusCode === 403) {
|
||||
|
||||
Reference in New Issue
Block a user