Skip to content

Commit

Permalink
Fix DEV_MODE import in mlmd service
Browse files Browse the repository at this point in the history
Remove DEV_MODE import in mlmd service
  • Loading branch information
Gkrumbach07 committed May 9, 2024
1 parent fa06535 commit e38acfd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions backend/src/routes/api/service/mlmd/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { DEV_MODE } from '../../../../utils/constants';
import { DSPipelineKind } from '../../../../types';
import { proxyService } from '../../../../utils/proxy';

export default DEV_MODE
? proxyService<DSPipelineKind>(
export default proxyService<DSPipelineKind>(
{

Check failure on line 5 in backend/src/routes/api/service/mlmd/index.ts

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `····`
apiGroup: 'datasciencepipelinesapplications.opendatahub.io',

Check failure on line 6 in backend/src/routes/api/service/mlmd/index.ts

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `····`
apiVersion: 'v1alpha1',

Check failure on line 7 in backend/src/routes/api/service/mlmd/index.ts

View workflow job for this annotation

GitHub Actions / Tests (18.x)

Delete `····`
Expand All @@ -27,7 +25,3 @@ export default DEV_MODE
),
false,
)
: async () => {
// do nothing
// service is only registered in DEV_MODE
};

0 comments on commit e38acfd

Please sign in to comment.