Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Apr 4, 2024
1 parent c99808e commit 150a013
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { PipelineRunKFv2, PipelineSpecVariable, TaskKF } from '~/concepts/pipelines/kfTypes';
import { PipelineRunKFv2, PipelineSpecVariable } from '~/concepts/pipelines/kfTypes';
import { createNode } from '~/concepts/topology';
import { PipelineNodeModelExpanded } from '~/concepts/topology/types';
import { createArtifactNode } from '~/concepts/topology/utils';
import {
composeArtifactType,
parseComponentsForArtifactRelationship,
Expand All @@ -11,7 +12,6 @@ import {
translateStatusForNode,
} from './parseUtils';
import { KubeFlowTaskTopology } from './pipelineTaskTypes';
import { createArtifactNode } from '~/concepts/topology/utils';

const EMPTY_STATE: KubeFlowTaskTopology = { taskMap: {}, nodes: [] };

Expand Down Expand Up @@ -43,7 +43,6 @@ export const usePipelineTaskTopology = (
const component = components[componentRef];
const artifactsInComponent = componentArtifactMap[componentRef];
const isGroupNode = !!component?.dag;
const groupTasks = component?.dag?.tasks;

const executorLabel = component?.executorLabel;
const executor = executorLabel ? executors[executorLabel] : undefined;
Expand Down
1 change: 0 additions & 1 deletion frontend/src/concepts/topology/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { PipelineNodeModel, RunStatus, WhenStatus } from '@patternfly/react-topology';
import React from 'react';

export type NodeConstructDetails = {
id: string;
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/concepts/topology/useTopologyController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import {
PipelineDagreGroupsLayout,
Visualization,
} from '@patternfly/react-topology';
import {
pipelineComponentFactory,
} from '~/concepts/topology/factories';
import { pipelineComponentFactory } from '~/concepts/topology/factories';
import { PIPELINE_LAYOUT, PIPELINE_NODE_SEPARATION_VERTICAL } from './const';

const useTopologyController = (graphId: string): Visualization | null => {
Expand Down

0 comments on commit 150a013

Please sign in to comment.