Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao583 committed Jul 29, 2024
1 parent 5b9668c commit 146279b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions frontend/src/api/k8s/servingRuntimes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ import {
ServingRuntimeAnnotations,
ServingRuntimeKind,
} from '~/k8sTypes';
import { CreatingServingRuntimeObject, SupportedModelFormatsInfo } from '~/pages/modelServing/screens/types';
import {
CreatingServingRuntimeObject,
SupportedModelFormatsInfo,
} from '~/pages/modelServing/screens/types';
import { ContainerResources } from '~/types';
import { getModelServingRuntimeName } from '~/pages/modelServing/utils';
import { getDisplayNameFromK8sResource, translateDisplayNameForK8s } from '~/concepts/k8s/utils';
Expand Down Expand Up @@ -150,9 +153,9 @@ export const assembleServingRuntime = (
name: supportedModelFormatsInfo.name,
version: supportedModelFormatsInfo.version,
autoSelect: true,
priority: 1
priority: 1,
};

if (
updatedServingRuntime.spec.supportedModelFormats &&
updatedServingRuntime.spec.supportedModelFormats.length >= 1
Expand Down

0 comments on commit 146279b

Please sign in to comment.