Skip to content

Commit

Permalink
fix: promethus incorrect value when update route (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiteSun authored Nov 3, 2020
1 parent de8bdbf commit 94450bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/pages/Route/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ export const transformRouteData = (data: RouteModule.Body) => {

const { plugins, script } = data;

if (plugins && plugins.prometheus) {
plugins.prometheus = { enabled: true };
}

const step3Data: RouteModule.Step3Data = {
plugins,
script,
Expand Down

0 comments on commit 94450bf

Please sign in to comment.